class TextureTrans This is a static class which encapsulates a few functions that can transform texture information into a texture matrix/vector
This is a static class which encapsulates a few functions that can transform texture information into a texture matrix/vector. This class makes it easiers to define textures for polygons given various things.
For example, if 'len1' is equal to 2 this means that texture will be tiled exactly two times between vertex 'v_orig' and 'v1'. I hope this explanation is clear since I can't seem to make it any clearer :-)
static void compute_texture_space( csMatrix3& m, csVector3& v, float xo, float yo, float zo, float x1, float y1, float z1, float len1, float A, float B, float C)
static void compute_texture_space( csMatrix3& m, csVector3& v, csVector3& v_orig, csVector3& v1, float len1, csVector3& v2, float len2)
static void compute_texture_space( csMatrix3& m, csVector3& v, float xo, float yo, float zo, float x1, float y1, float z1, float len1, float x2, float y2, float z2, float len2)
static void compute_texture_space( csMatrix3& m, csVector3& v, csVector3& v_orig, csVector3& v_u, csVector3& v_v)
static void compute_texture_space( csMatrix3& m, csVector3& v, float xo, float yo, float zo, float xu, float yu, float zu, float xv, float yv, float zv)
static void compute_texture_space( csMatrix3& m, csVector3& v, float xo, float yo, float zo, float xu, float yu, float zu, float xv, float yv, float zv, float xw, float yw, float zw)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de