fehlerkorrektur (namespace, gamecube)
This commit is contained in:
parent
f72c06d87e
commit
54a44f9e53
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user