quaternion: style

This commit is contained in:
Danny Robson 2020-08-21 09:34:01 +10:00
parent e0acc9288e
commit 8eca4175ec

View File

@ -372,17 +372,17 @@ template struct cruft::debug::validator<::cruft::quaternion<float>>;
///////////////////////////////////////////////////////////////////////////////
#define INSTANTIATE(T) \
#define INSTANTIATE(T) \
template cruft::vector3<T> cruft::rotate (cruft::vector3<T>, cruft::quaternion<T>); \
template quaternion<T> cruft::slerp (quaternion<T>, quaternion<T>, T); \
template quaternion<T> cruft::nlerp (quaternion<T>, quaternion<T>, T); \
template quaternion<T> cruft::conjugate (quaternion<T>); \
template quaternion<T> cruft::operator* (quaternion<T>, quaternion<T>); \
template quaternion<T>& cruft::operator*= (quaternion<T>&, quaternion<T>); \
template quaternion<T> cruft::operator/ (quaternion<T>, quaternion<T>); \
template bool cruft::almost_equal (cruft::quaternion<T>, cruft::quaternion<T>); \
template std::ostream& cruft::operator<< (std::ostream&, quaternion<T>); \
template bool cruft::debug::is_valid(const quaternion<T>&); \
template quaternion<T> cruft::conjugate (quaternion<T>); \
template quaternion<T> cruft::operator* (quaternion<T>, quaternion<T>); \
template quaternion<T>& cruft::operator*= (quaternion<T>&, quaternion<T>); \
template quaternion<T> cruft::operator/ (quaternion<T>, quaternion<T>); \
template bool cruft::almost_equal (cruft::quaternion<T>, cruft::quaternion<T>); \
template std::ostream& cruft::operator<< (std::ostream&, quaternion<T>); \
template bool cruft::debug::is_valid(const quaternion<T>&); \
template struct cruft::quaternion<T>;
INSTANTIATE(float)