/usr/include/glm/gtx/transform.inl is in libglm-dev 0.9.9~a2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /// @ref gtx_transform
/// @file glm/gtx/transform.inl
namespace glm
{
template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER mat<4, 4, T, Q> translate(vec<3, T, Q> const& v)
{
return translate(mat<4, 4, T, Q>(static_cast<T>(1)), v);
}
template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER mat<4, 4, T, Q> rotate(T angle, vec<3, T, Q> const& v)
{
return rotate(mat<4, 4, T, Q>(static_cast<T>(1)), angle, v);
}
template<typename T, qualifier Q>
GLM_FUNC_QUALIFIER mat<4, 4, T, Q> scale(vec<3, T, Q> const& v)
{
return scale(mat<4, 4, T, Q>(static_cast<T>(1)), v);
}
}//namespace glm
|