From 3f7971e7701e45c3c14f2e744b7f74f35144af94 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 21 Feb 2009 19:08:10 +0000 Subject: [PATCH] clarify that the new matrixlib functions only are supposed to work for rotations and translations (transformation must be length invariant) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8753 d7cf8633-e32d-0410-b094-e92efae38249 --- matrixlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrixlib.h b/matrixlib.h index 8ddde538..505f7f91 100644 --- a/matrixlib.h +++ b/matrixlib.h @@ -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 -- 2.39.2