added Quat4f,Matrix2f,Identity2f/3f/4f/3x4f
This commit is contained in:
parent
0344325554
commit
b060f6a6d4
@ -10,10 +10,18 @@
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
using Quat4f=glm::quat;
|
||||
|
||||
using Matrix2f=glm::mat2;
|
||||
using Matrix3f=glm::mat3;
|
||||
using Matrix4f=glm::mat4;
|
||||
using Matrix3x4f=glm::mat3x4;
|
||||
|
||||
constexpr const Matrix2f Identity2f=Matrix2f(1.0f);
|
||||
constexpr const Matrix3f Identity3f=Matrix3f(1.0f);
|
||||
constexpr const Matrix4f Identity4f=Matrix4f(1.0f);
|
||||
constexpr const Matrix3f Identity3x4f=Matrix3x4f(1.0f);
|
||||
|
||||
inline Matrix4f inverse(const Matrix4f &m)
|
||||
{
|
||||
return glm::inverse(m);
|
||||
|
Loading…
x
Reference in New Issue
Block a user