]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - matrixlib.h
clarify that the new matrixlib functions only are supposed to work for rotations...
[xonotic/darkplaces.git] / 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