1/// @ref gtx_transform 2/// @file glm/gtx/transform.inl 3 4namespace glm 5{ 6 template <typename T, precision P> 7 GLM_FUNC_QUALIFIER tmat4x4<T, P> translate(tvec3<T, P> const & v) 8 { 9 return translate(tmat4x4<T, P>(static_cast<T>(1)), v); 10 } 11 12 template <typename T, precision P> 13 GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate(T angle, tvec3<T, P> const & v) 14 { 15 return rotate(tmat4x4<T, P>(static_cast<T>(1)), angle, v); 16 } 17 18 template <typename T, precision P> 19 GLM_FUNC_QUALIFIER tmat4x4<T, P> scale(tvec3<T, P> const & v) 20 { 21 return scale(tmat4x4<T, P>(static_cast<T>(1)), v); 22 } 23 24}//namespace glm 25