aboutsummaryrefslogtreecommitdiff
path: root/src/math/tform.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2025-01-03 04:02:23 +0100
committervimene <vincent.menegaux@gmail.com>2025-01-03 04:02:23 +0100
commit77cd3a0538d342e25010132317734f27af4bed8e (patch)
tree372d57aa2a76437d80c9312f1e81a54439bf9b42 /src/math/tform.h
parent26b4b82a7be2c029491f3009b66b3cbf8db5d93c (diff)
downloadengine-77cd3a0538d342e25010132317734f27af4bed8e.tar.gz
improved keyboard and mouse controls
Diffstat (limited to 'src/math/tform.h')
-rw-r--r--src/math/tform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math/tform.h b/src/math/tform.h
index 2a654b8..74186f8 100644
--- a/src/math/tform.h
+++ b/src/math/tform.h
@@ -14,8 +14,7 @@ class Transform {
Quaternion rot;
Vector3 scale;
- constexpr Transform(Vector3 loc, Quaternion rot, Vector3 scale) : loc{loc}, rot{rot}, scale{scale} {
- }
+ constexpr Transform(Vector3 loc, Quaternion rot, Vector3 scale) : loc{loc}, rot{rot}, scale{scale} {}
constexpr Transform opposite() const & {
return {-loc, rot.conjugate(), 1.f / scale};