diff --git a/src/gamecube.cpp b/src/gamecube.cpp index 6848d50..274e6d5 100644 --- a/src/gamecube.cpp +++ b/src/gamecube.cpp @@ -39,11 +39,11 @@ void gamecube::Draw() const rlPushMatrix(); // Matrizen für Rotation und Translation erzeugen - auto matrix_a = gameMatrix::translate({ position.x, position.y, position.z}); - auto matrix_b = gameMatrix::rot3D(rotation, 'y'); + auto matrix_a = Matrix3D::gameMatrix::translate({ position.x, position.y, position.z}); + auto matrix_b = Matrix3D::gameMatrix::rot3D(rotation, 'y'); // Matrizen multiplizieren (Translation * Rotation) - auto model = gameMatrix::matmul(matrix_a, matrix_b); + auto model = Matrix3D::gameMatrix::matmul(matrix_a, matrix_b); // transform for raylib matrix float f[16];