mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 08:21:59 +00:00
Add a comment about the evaluation order in VectorShear.
This commit is contained in:
parent
de131c18ad
commit
1473dbd526
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ extern const vec_t *const quat_origin;
|
||||||
|
|
||||||
The reason for this particular scheme is that is how Mat4Decompose
|
The reason for this particular scheme is that is how Mat4Decompose
|
||||||
calculates the shear from a matrix.
|
calculates the shear from a matrix.
|
||||||
|
|
||||||
|
\note The order of calculations is important for when b and c refer to
|
||||||
|
the same vector.
|
||||||
*/
|
*/
|
||||||
#define VectorShear(a,b,c) \
|
#define VectorShear(a,b,c) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Reference in a new issue