static void FX::TnFXGraph::Expand ( QMemArray< FXVec3f > &  out,
const QMemArray< FXVec2f > &  in 
) [inline, static, inherited]

Expands a 2d array into a 3d array by setting of Z to zero.

Definition at line 129 of file TnFXGraph.h.

References FX::QMemArray< type, allocator >::count(), and FX::QMemArray< type, allocator >::resize().

00130     {
00131         out.resize(in.count());
00132         for(FXuint n=0; n<in.count(); n++)
00133         {
00134             out[n].x=in[n].x;
00135             out[n].y=in[n].y;
00136             out[n].z=0.0f;
00137         }
00138     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:48 2009 for TnFOX by doxygen v1.4.7