Mat4 struct
#include <OE/Math/Mat4.hpp>
4x4 matrix
Contents
Public static functions
- static auto Identity() -> Mat4
- static auto Orthographic(float left, float right, float bottom, float top, float _near, float _far) -> Mat4
- static auto Perspective(float fov, float aspectRatio, float _near, float _far) -> Mat4
- static auto LookAt(const Vec3f& eye, const Vec3f& target, const Vec3f& up) -> Mat4
- static auto Translation(const Vec3f& translation) -> Mat4
- static auto Translation(const Vec2f& translation) -> Mat4
- static auto Rotation(float angle, const Vec3f& axis) -> Mat4
- static auto Scale(const Vec3f& scale) -> Mat4
- static auto Transpose(const Mat4& matrix) -> Mat4
- static auto Inverse(const Mat4& matrix) -> Mat4
Constructors, destructors, conversion operators
- Mat4(float d = 1.0f)
- Create a new matrix.
Public variables
Function documentation
OrbitEngine::Math::Mat4:: Mat4(float d = 1.0f)
Create a new matrix.
| Parameters | |
|---|---|
| d in | Value along the diagonal |