summaryrefslogtreecommitdiff
path: root/src/egg/math/eggMatrix.cpp
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2024-05-23 00:16:00 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2024-05-23 00:16:00 -0400
commit08e0e57034cb1132c3f3427d8c4a8e52702223e4 (patch)
tree384674c65047e8886ef824d56bf34ff6ea08ba25 /src/egg/math/eggMatrix.cpp
parentd69b2b450c8b1bf3f926ce43cc909450f7941df4 (diff)
lyt_pane matching
Diffstat (limited to 'src/egg/math/eggMatrix.cpp')
-rw-r--r--src/egg/math/eggMatrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg/math/eggMatrix.cpp b/src/egg/math/eggMatrix.cpp
index 68f0049f..9fef71b7 100644
--- a/src/egg/math/eggMatrix.cpp
+++ b/src/egg/math/eggMatrix.cpp
@@ -239,7 +239,7 @@ void Matrix34f::makeT(const Vector3f &t) {
}
void Matrix34f::fromQuat(const Quatf &q) {
- m[0][0] = 1.0f - (2.0f * q.y * q.y) - (2.0f * q.z * q.z);
+ m[0][0] = 1.0f - (2 * q.y * q.y) - (2.0f * q.z * q.z);
m[0][1] = (2.0f * q.x * q.y) - (2.0f * q.w * q.z);
m[0][2] = (2.0f * q.x * q.z) + (2.0f * q.w * q.y);