47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
#include <glm/fwd.hpp>
|
|
#include <glm/glm.hpp>
|
|
|
|
namespace simpleengine {
|
|
// Float vectors
|
|
using Vec4f = glm::vec4;
|
|
using Vec3f = glm::vec3;
|
|
using Vec2f = glm::vec2;
|
|
|
|
// Integer vectors
|
|
using Vec4i = glm::ivec4;
|
|
using Vec3i = glm::ivec3;
|
|
using Vec2i = glm::ivec2;
|
|
|
|
// Float matrixes
|
|
using Mat4f = glm::mat4;
|
|
using Mat3f = glm::mat3;
|
|
using Mat2f = glm::mat2;
|
|
|
|
using Mat2x2f = glm::mat2x2;
|
|
using Mat2x3f = glm::mat2x3;
|
|
using Mat2x4f = glm::mat2x4;
|
|
using Mat3x2f = glm::mat3x2;
|
|
using Mat3x3f = glm::mat3x3;
|
|
using Mat3x4f = glm::mat3x4;
|
|
using Mat4x2f = glm::mat4x2;
|
|
using Mat4x3f = glm::mat4x3;
|
|
using Mat4x4f = glm::mat4x4;
|
|
|
|
// Integer matrixes
|
|
using Mat4i = glm::imat4x4;
|
|
using Mat3i = glm::imat3x3;
|
|
using Mat2i = glm::imat2x2;
|
|
|
|
using Mat2x2i = glm::imat2x2;
|
|
using Mat2x3i = glm::imat2x3;
|
|
using Mat2x4i = glm::imat2x4;
|
|
using Mat3x2i = glm::imat3x2;
|
|
using Mat3x3i = glm::imat3x3;
|
|
using Mat3x4i = glm::imat3x4;
|
|
using Mat4x2i = glm::imat4x2;
|
|
using Mat4x3i = glm::imat4x3;
|
|
using Mat4x4i = glm::imat4x4;
|
|
|
|
// Quaternions
|
|
using Quat = glm::quat;
|
|
} |