blob: 0abad665b6bfbbb6ace6ce545dc668e15fb2e423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "Math.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);
}
|