quaternion: style
This commit is contained in:
parent
e0acc9288e
commit
8eca4175ec
@ -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 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::slerp (quaternion<T>, quaternion<T>, T); \
|
||||||
template quaternion<T> cruft::nlerp (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::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 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 bool cruft::almost_equal (cruft::quaternion<T>, cruft::quaternion<T>); \
|
||||||
template std::ostream& cruft::operator<< (std::ostream&, quaternion<T>); \
|
template std::ostream& cruft::operator<< (std::ostream&, quaternion<T>); \
|
||||||
template bool cruft::debug::is_valid(const quaternion<T>&); \
|
template bool cruft::debug::is_valid(const quaternion<T>&); \
|
||||||
template struct cruft::quaternion<T>;
|
template struct cruft::quaternion<T>;
|
||||||
|
|
||||||
INSTANTIATE(float)
|
INSTANTIATE(float)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user