Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e1a9ab8d9 | ||
|
|
54a44f9e53 | ||
|
|
e72d51f3b2 | ||
|
|
2170001875 | ||
|
|
a2d77869a1 | ||
|
|
93ea5ae8d1 |
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
Generated
+4
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings" defaultProject="true" />
|
||||||
|
</project>
|
||||||
Submodule
+1
Submodule Prog3b_651 added at 2170001875
@@ -0,0 +1,20 @@
|
|||||||
|
Projekt: .wuerfelmemory
|
||||||
|
Datum: 03.11.2025
|
||||||
|
|
||||||
|
|
||||||
|
Team(Rollen):Projektleiter: Alina.B
|
||||||
|
Architekt: Alex.S
|
||||||
|
Entwickler: Tomila.B
|
||||||
|
Tester: Elisa.S
|
||||||
|
|
||||||
|
1.Projektziel:
|
||||||
|
|
||||||
|
| Funktion | Eingabe | Ausgabe | Kurzbeschreibung |
|
||||||
|
|---------------|------------------------------------|-----------------------|----------------------------------------|
|
||||||
|
| matmul | 4x4 Matrix A, 4x4 Matrix B | 4x4 Matrix | |
|
||||||
|
| translate | 3D Vektor | 4x4 Matrix | |
|
||||||
|
| rot3D | Winkel in °, Rotationsachse (x/y/z)| 4x4 Matrix | |
|
||||||
|
|
||||||
|
|
||||||
|
Dokumentation:
|
||||||
|
|
||||||
+3
-3
@@ -39,11 +39,11 @@ void gamecube::Draw() const
|
|||||||
rlPushMatrix();
|
rlPushMatrix();
|
||||||
|
|
||||||
// Matrizen für Rotation und Translation erzeugen
|
// Matrizen für Rotation und Translation erzeugen
|
||||||
auto matrix_a = gameMatrix::translate({ position.x, position.y, position.z});
|
auto matrix_a = Matrix3D::gameMatrix::translate({ position.x, position.y, position.z});
|
||||||
auto matrix_b = gameMatrix::rot3D(rotation, 'y');
|
auto matrix_b = Matrix3D::gameMatrix::rot3D(rotation, 'y');
|
||||||
|
|
||||||
// Matrizen multiplizieren (Translation * Rotation)
|
// 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
|
// transform for raylib matrix
|
||||||
float f[16];
|
float f[16];
|
||||||
|
|||||||
Reference in New Issue
Block a user