blob: af4fbbc6c1fb9cc9f2d49d06bf9b3754805ec6f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "Common.hpp"
namespace Math::MVP {
Matrix<4, 4> model(Vector<3> position, Rotation angles);
Matrix<4, 4> view(Vector<3> position, Rotation angles);
Matrix<4, 4> perspective_projection(float aspect, float fov, float near, float far);
Matrix<4, 4> orthographic_projection(float width, float height, float near, float far);
}
|