summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-03-09 12:08:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-03-09 12:08:24 +0000
commitcfe9b339b401eaf5c049981bbfc50ac13ce1def9 (patch)
tree35e625054b13cd85bf71f3509cf695a18375f07d /lib
parentAdd timeout to deformation unit test (diff)
downloadilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.tar.bz2
ilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.tar.xz
ilt-cfe9b339b401eaf5c049981bbfc50ac13ce1def9.zip
Fix non-64bit upgrade wrapper for crossProduct
Diffstat (limited to 'lib')
-rw-r--r--lib/maths.h2
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>