quaternion: add convenience float typedef

This commit is contained in:
Danny Robson 2015-07-21 01:39:38 +10:00
parent 0db7872c1b
commit 6095c755cf

View File

@ -65,6 +65,8 @@ namespace util {
matrix4<T> rotation_matrix (void) const; matrix4<T> rotation_matrix (void) const;
}; };
typedef quaternion<float> quaternionf;
template <typename T> template <typename T>
std::ostream& operator<< (std::ostream&, quaternion<T>); std::ostream& operator<< (std::ostream&, quaternion<T>);
} }