summaryrefslogtreecommitdiff
path: root/maths.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-14 00:04:55 +1100
committerquou <quou@disroot.org>2025-01-14 00:04:55 +1100
commitfd488f9603f22db0312eadcdb93b7880922dc9a7 (patch)
tree15b7986e2c06eea57575f4c97811cbc65eaa120a /maths.hpp
parentdfa0b6de5a070d1be63d04574c3b8ce469518250 (diff)
misc refactoring
Diffstat (limited to 'maths.hpp')
-rw-r--r--maths.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/maths.hpp b/maths.hpp
index 26e6652..ef2dbfb 100644
--- a/maths.hpp
+++ b/maths.hpp
@@ -489,8 +489,8 @@ struct m4f {
static v4f transform(m4f m, v4f v);
static AABB transform(m4f m, AABB aabb);
- m4f inverse();
- m4f transposed();
+ m4f inverse() const;
+ m4f transposed() const;
};
inline static v4f make_color(uint32_t rgb, uint8_t a) {