mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
fix a snafu in quattomat
This commit is contained in:
parent
eb205d73fd
commit
fe3cdbcf5a
1 changed files with 4 additions and 4 deletions
|
@ -200,10 +200,10 @@ QuatToMatrix (const quat_t q, vec_t *m, int homogenous, int vertical)
|
|||
{
|
||||
vec_t aa, ab, ac, ad, bb, bc, bd, cc, cd, dd;
|
||||
vec_t *_m[4] = {
|
||||
m + homogenous ? 0 : 0,
|
||||
m + homogenous ? 4 : 3,
|
||||
m + homogenous ? 8 : 6,
|
||||
m + homogenous ? 12 : 9,
|
||||
m + (homogenous ? 0 : 0),
|
||||
m + (homogenous ? 4 : 3),
|
||||
m + (homogenous ? 8 : 6),
|
||||
m + (homogenous ? 12 : 9),
|
||||
};
|
||||
|
||||
aa = q[0] * q[0];
|
||||
|
|
Loading…
Reference in a new issue