aboutsummaryrefslogtreecommitdiff
path: root/src/vec4ops/vec4ops.cpp
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-08 16:21:23 -0500
committerDavid Doan <daviddoan@Davids-MacBook-Pro-100.local>2023-12-08 16:21:23 -0500
commit0388edf148a1441416d74a5683af05aadd18aad0 (patch)
treec92bf25186da78bb57912c70f7c7fbcfb42fefab /src/vec4ops/vec4ops.cpp
parent7fff3eb8df3eb102398aa238e19cc5c48365021f (diff)
camera stuff
Diffstat (limited to 'src/vec4ops/vec4ops.cpp')
-rw-r--r--src/vec4ops/vec4ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec4ops/vec4ops.cpp b/src/vec4ops/vec4ops.cpp
index 458bc1f..70c018b 100644
--- a/src/vec4ops/vec4ops.cpp
+++ b/src/vec4ops/vec4ops.cpp
@@ -39,7 +39,7 @@ glm::mat4 Vec4Ops::getViewMatrix4(
// rotation matrices for each plane
glm::mat4 rotMatrixXY = getRotationMatrix4XY(glm::radians(settings.xy));
- glm::mat4 rotMatrixXZ = getRotationMatrix4XZ(glm::radians(settings.xz));
+ glm::mat4 rotMatrixXZ = getRotationMatrix4ZX(glm::radians(settings.xz));
glm::mat4 rotMatrixYZ = getRotationMatrix4YZ(glm::radians(settings.yz));
glm::mat4 rotMatrixXW = getRotationMatrix4XW(glm::radians(settings.xw));
glm::mat4 rotMatrixYW = getRotationMatrix4YW(glm::radians(settings.yw));