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 }
|