From 8eca4175ec1a28a28e09fb58310633b95f46045e Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 21 Aug 2020 09:34:01 +1000 Subject: [PATCH] quaternion: style --- quaternion.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/quaternion.cpp b/quaternion.cpp index 967a512d..db7636b2 100644 --- a/quaternion.cpp +++ b/quaternion.cpp @@ -372,17 +372,17 @@ template struct cruft::debug::validator<::cruft::quaternion>; /////////////////////////////////////////////////////////////////////////////// -#define INSTANTIATE(T) \ +#define INSTANTIATE(T) \ template cruft::vector3 cruft::rotate (cruft::vector3, cruft::quaternion); \ template quaternion cruft::slerp (quaternion, quaternion, T); \ template quaternion cruft::nlerp (quaternion, quaternion, T); \ -template quaternion cruft::conjugate (quaternion); \ -template quaternion cruft::operator* (quaternion, quaternion); \ -template quaternion& cruft::operator*= (quaternion&, quaternion); \ -template quaternion cruft::operator/ (quaternion, quaternion); \ -template bool cruft::almost_equal (cruft::quaternion, cruft::quaternion); \ -template std::ostream& cruft::operator<< (std::ostream&, quaternion); \ -template bool cruft::debug::is_valid(const quaternion&); \ +template quaternion cruft::conjugate (quaternion); \ +template quaternion cruft::operator* (quaternion, quaternion); \ +template quaternion& cruft::operator*= (quaternion&, quaternion); \ +template quaternion cruft::operator/ (quaternion, quaternion); \ +template bool cruft::almost_equal (cruft::quaternion, cruft::quaternion); \ +template std::ostream& cruft::operator<< (std::ostream&, quaternion); \ +template bool cruft::debug::is_valid(const quaternion&); \ template struct cruft::quaternion; INSTANTIATE(float)