diff options
Diffstat (limited to 'src/math/tform.h')
-rw-r--r-- | src/math/tform.h | 3 |
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}; |