diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-12-13 01:30:52 -0500 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-12-13 01:30:52 -0500 |
commit | 07776876eb4638a224fd332944ce9ddca1f5a592 (patch) | |
tree | 1fbe79ac2b7dfc70d5963c7b9928e2f09910c00e /src/vec4ops/vec4ops.cpp | |
parent | c6f2be2fed772f300c0cdfe59a4a8a2733d15574 (diff) |
hardcode the camera depth to where a result is shown
Diffstat (limited to 'src/vec4ops/vec4ops.cpp')
-rw-r--r-- | src/vec4ops/vec4ops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec4ops/vec4ops.cpp b/src/vec4ops/vec4ops.cpp index cf0900a..3ef939a 100644 --- a/src/vec4ops/vec4ops.cpp +++ b/src/vec4ops/vec4ops.cpp @@ -37,7 +37,7 @@ glm::mat4 Vec4Ops::getViewMatrix4( glm::vec4 upVector, glm::vec4 overVector) { // start with the e3 basis vector, the normalized look vector - glm::vec4 e3 = glm::normalize(-lookVector); + glm::vec4 e3 = glm::normalize(lookVector); // calculate e0 basis vector, from the combinatory cross of up and over with e3 glm::vec4 e0 = cross4(upVector, overVector, e3); |