mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Get rid of definitelyIdentityMatrix
(#15480)
This commit is contained in:
parent
df4e70b2c7
commit
d068f34753
2 changed files with 4 additions and 179 deletions
|
@ -358,8 +358,6 @@ inline void quaternion::getMatrixFast(matrix4 &dest) const
|
|||
dest[13] = 0.f;
|
||||
dest[14] = 0.f;
|
||||
dest[15] = 1.f;
|
||||
|
||||
dest.setDefinitelyIdentityMatrix(false);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -397,8 +395,6 @@ inline void quaternion::getMatrix(matrix4 &dest,
|
|||
dest[13] = center.Y;
|
||||
dest[14] = center.Z;
|
||||
dest[15] = 1.f;
|
||||
|
||||
dest.setDefinitelyIdentityMatrix(false);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
@ -471,8 +467,6 @@ inline void quaternion::getMatrix_transposed(matrix4 &dest) const
|
|||
dest[7] = 0.f;
|
||||
dest[11] = 0.f;
|
||||
dest[15] = 1.f;
|
||||
|
||||
dest.setDefinitelyIdentityMatrix(false);
|
||||
}
|
||||
|
||||
// Inverts this quaternion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue