diff --git a/gamematrix.h b/gamematrix.h new file mode 100644 index 0000000..7a644d6 --- /dev/null +++ b/gamematrix.h @@ -0,0 +1,19 @@ +#pragma once +#include +#include +#include +#include + +class gameMatrix +{ +public: + // Matrix Multiplikation + static std::array,4> matmul(const std::array,4>& A, + const std::array,4>& B); + + // Rotationsmatrix um Achse x/y/z + static std::array,4> rot3D(double angle_deg, char axis); + + // Verschiebung + static std::array,4> translate(const std::array& pos); +};