diff options
Diffstat (limited to 'src/Math/MVP.hpp')
| -rw-r--r-- | src/Math/MVP.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Math/MVP.hpp b/src/Math/MVP.hpp index c3fb64f..0abad66 100644 --- a/src/Math/MVP.hpp +++ b/src/Math/MVP.hpp @@ -6,6 +6,7 @@ namespace Math::MVP { Matrix<4, 4> model(Vector<3> position, Rotation angles); Matrix<4, 4> view(Vector<3> position, Rotation angles); -Matrix<4, 4> projection(float aspect, float fov, float near, float far); +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); } |
