4 #define GLM_ENABLE_EXPERIMENTAL
5 #include <glm/gtx/io.hpp>
33 template<
typename T, glm::precision P>
49 void Scale(glm::tvec3<T, P> v);
50 void Scale(T uniform);
54 void Rotate(T angle, glm::tvec3<T, P> v);
59 void PreRotate(T angle, glm::tvec3<T, P> v);
74 void SetRotate(T angle, glm::tvec3<T, P> v);
80 void LookTowards(glm::tvec3<T, P> front_vec, glm::tvec3<T, P> up_vec);
82 void LookAt(glm::tvec3<T, P> point, glm::tvec3<T, P> up_vec);
83 void LookAt(glm::tvec3<T, P> point);
107 glm::tvec3<T, P>
GetUp()
const;
108 glm::tvec3<T, P>
GetDown()
const;
109 glm::tvec3<T, P>
GetLeft()
const;
112 glm::tvec3<T, P>
GetBack()
const;
115 glm::tmat3x3<T, P>
mR;
122 os << v.
mT << std::endl;
123 os << v.
mR << std::endl;
124 os << v.
mS << std::endl;