From 0388edf148a1441416d74a5683af05aadd18aad0 Mon Sep 17 00:00:00 2001 From: David Doan Date: Fri, 8 Dec 2023 16:21:23 -0500 Subject: camera stuff --- src/vec4ops/vec4ops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vec4ops') 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)); -- cgit v1.2.3-70-g09d2