#include "common/matrix_utils.h"
namespace angle
{
Mat4::Mat4() : … { … }
Mat4::Mat4(const Matrix<float> generalMatrix)
{ … }
Mat4::Mat4(const std::vector<float> &elements)
{ … }
Mat4::Mat4(const float *elements)
{ … }
Mat4::Mat4(float m00,
float m01,
float m02,
float m03,
float m10,
float m11,
float m12,
float m13,
float m20,
float m21,
float m22,
float m23,
float m30,
float m31,
float m32,
float m33)
{ … }
Mat4 Mat4::Rotate(float angle, const Vector3 &axis)
{ … }
Mat4 Mat4::Translate(const Vector3 &t)
{ … }
Mat4 Mat4::Scale(const Vector3 &s)
{ … }
Mat4 Mat4::Frustum(float l, float r, float b, float t, float n, float f)
{ … }
Mat4 Mat4::Perspective(float fov, float aspectRatio, float n, float f)
{ … }
Mat4 Mat4::Ortho(float l, float r, float b, float t, float n, float f)
{ … }
Mat4 Mat4::product(const Mat4 &m)
{ … }
Vector4 Mat4::product(const Vector4 &b)
{ … }
void Mat4::dump()
{ … }
}