3#include <glm/mat4x4.hpp>
14 explicit Mat4(
const glm::mat4 &
m);
21 void scale(
float sx,
float sy,
float sz);
31 float get(
int index)
const;
36 const glm::mat4 &
raw()
const {
return m_; }
37 glm::mat4 &
raw() {
return m_; }
Column-major 4x4 matrix wrapping glm::mat4.
const glm::mat4 & raw() const
Vec3 * transformVec3(const Vec3 *v) const
Vec2 * transformPoint2(const Vec2 *v) const
void translate(float x, float y, float z)
float get(int index) const
Column-major element 0..15.
void multiply(const Mat4 *other)
void rotateX(float radians)
void rotateZ(float radians)
Mat4 * multiplied(const Mat4 *other) const
void set(int index, float value)
void rotateY(float radians)
2D float vector (script-facing math module value).
3D float vector (script-facing math module value).