Translates a 3d array into a 2d array by division of Z.
Definition at line 183 of file TnFXGraph.h. References FX::QMemArray< type, allocator >::count(), and FX::QMemArray< type, allocator >::resize(). 00184 { 00185 out.resize(in.count()); 00186 for(FXuint n=0; n<in.count(); n++) 00187 { 00188 out[n].x=in[n].x/in[n].z; 00189 out[n].y=in[n].y/in[n].z; 00190 out[n].z=0; 00191 } 00192 }
|