mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 22:09:20 +02:00
Dodanie bibliotek i projektu
This commit is contained in:
24
ref/glm/glm/gtx/transform.inl
Normal file
24
ref/glm/glm/gtx/transform.inl
Normal file
@@ -0,0 +1,24 @@
|
||||
/// @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>(static_cast<T>(1)), 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>(static_cast<T>(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>(static_cast<T>(1)), v);
|
||||
}
|
||||
|
||||
}//namespace glm
|
||||
Reference in New Issue
Block a user