mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +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);
|
||||
/** Decompose a column major matrix into its component transformations.
|
||||
|
||||
This gives the matrix's rotation as a quaternion, shear, scale
|
||||
(XY, XZ, YZ), and translation. Using the following sequence will give the
|
||||
This gives the matrix's rotation as a quaternion, shear (XY, XZ, YZ),
|
||||
scale, and translation. Using the following sequence will give the
|
||||
same result as multiplying \a v by \a mat.
|
||||
|
||||
QuatMultVec (rot, v, v);
|
||||
|
|
Loading…
Reference in a new issue