]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
clarify that the new matrixlib functions only are supposed to work for rotations...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Feb 2009 19:08:10 +0000 (19:08 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Feb 2009 19:08:10 +0000 (19:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8753 d7cf8633-e32d-0410-b094-e92efae38249

matrixlib.h

index 8ddde538af15c800d01916969798d38ba02c5e6c..505f7f91d41c31850439f9385b59a66c6345f20a 100644 (file)
@@ -124,9 +124,9 @@ void Matrix4x4_Transform4 (const matrix4x4_t *in, const float v[4], float out[4]
 //void Matrix4x4_SimpleUntransform (const matrix4x4_t *in, const float v[3], float out[3]);
 // transforms a direction vector through the rotation part of a matrix
 void Matrix4x4_Transform3x3 (const matrix4x4_t *in, const float v[3], float out[3]);
-// transforms a positive distance plane (A*x+B*y+C*z-D=0) through a matrix
+// transforms a positive distance plane (A*x+B*y+C*z-D=0) through a rotation or translation matrix
 void Matrix4x4_TransformPositivePlane (const matrix4x4_t *in, float x, float y, float z, float d, float *o);
-// transforms a standard plane (A*x+B*y+C*z+D=0) through a matrix
+// transforms a standard plane (A*x+B*y+C*z+D=0) through a rotation or translation matrix
 void Matrix4x4_TransformStandardPlane (const matrix4x4_t *in, float x, float y, float z, float d, float *o);
 
 // ease of use functions