You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
31 lines
574 B
31 lines
574 B
/// @ref gtx_transform |
|
/// @file glm/gtx/transform.inl |
|
|
|
namespace glm |
|
{ |
|
template <typename T, precision P> |
|
GLM_FUNC_QUALIFIER tmat4x4<T, P> translate( |
|
tvec3<T, P> const & v) |
|
{ |
|
return translate( |
|
tmat4x4<T, P>(1.0f), v); |
|
} |
|
|
|
template <typename T, precision P> |
|
GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate( |
|
T angle, |
|
tvec3<T, P> const & v) |
|
{ |
|
return rotate( |
|
tmat4x4<T, P>(1), angle, v); |
|
} |
|
|
|
template <typename T, precision P> |
|
GLM_FUNC_QUALIFIER tmat4x4<T, P> scale( |
|
tvec3<T, P> const & v) |
|
{ |
|
return scale( |
|
tmat4x4<T, P>(1.0f), v); |
|
} |
|
|
|
}//namespace glm
|
|
|