mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
Correct a comment.
The shear factors were listed next to scale... a tad confusing.
This commit is contained in:
parent
130494f774
commit
848db2e306
1 changed files with 2 additions and 2 deletions
|
@ -635,8 +635,8 @@ void Mat4MultVec (const mat4_t a, const vec3_t b, vec3_t c);
|
||||||
void Mat4as3MultVec (const mat4_t a, const vec3_t b, vec3_t c);
|
void Mat4as3MultVec (const mat4_t a, const vec3_t b, vec3_t c);
|
||||||
/** Decompose a column major matrix into its component transformations.
|
/** Decompose a column major matrix into its component transformations.
|
||||||
|
|
||||||
This gives the matrix's rotation as a quaternion, shear, scale
|
This gives the matrix's rotation as a quaternion, shear (XY, XZ, YZ),
|
||||||
(XY, XZ, YZ), and translation. Using the following sequence will give the
|
scale, and translation. Using the following sequence will give the
|
||||||
same result as multiplying \a v by \a mat.
|
same result as multiplying \a v by \a mat.
|
||||||
|
|
||||||
QuatMultVec (rot, v, v);
|
QuatMultVec (rot, v, v);
|
||||||
|
|
Loading…
Reference in a new issue