diff options
Diffstat (limited to 'src/Math/MVP.hpp')
| -rw-r--r-- | src/Math/MVP.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Math/MVP.hpp b/src/Math/MVP.hpp new file mode 100644 index 0000000..c3fb64f --- /dev/null +++ b/src/Math/MVP.hpp @@ -0,0 +1,11 @@ +#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> projection(float aspect, float fov, float near, float far); + +} |
