diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-09 12:08:24 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-09 12:08:24 +0000 |
commit | cfe9b339b401eaf5c049981bbfc50ac13ce1def9 (patch) | |
tree | 35e625054b13cd85bf71f3509cf695a18375f07d | |
parent | Add timeout to deformation unit test (diff) | |
download | ilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.tar.bz2 ilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.tar.xz ilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.zip |
Fix non-64bit upgrade wrapper for crossProduct
-rw-r--r-- | lib/maths.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maths.h b/lib/maths.h index 5886326..adf2158 100644 --- a/lib/maths.h +++ b/lib/maths.h @@ -111,7 +111,7 @@ template<std::integral T, glm::qualifier Q> inline constexpr glm::vec<3, T, Q> crossProduct(const glm::vec<3, T, Q> a, const glm::vec<3, T, Q> b) { - return crossProduct<int64_t, Q>(a, b); + return crossProduct<Q>(a, b); } template<std::floating_point T, glm::qualifier Q> |