gamecube verbesserungen

This commit is contained in:
Bendit Straetemans 2025-11-09 21:33:22 +01:00
parent 08ded96060
commit 65cb29a65a

View File

@ -3,7 +3,7 @@
#include "raylib.h"
#include <rlgl.h>
struct Vec3
struct Vec3 //anisch unnötig weil rylib schon vec3 hat
{
float x, y, z;
};
@ -22,7 +22,7 @@ public:
Vec3 GetPosition() const;
float GetRotationY() const;
Color GetColor() const { return color; }
//zustände klarer abbikden bzw weniger bools = klarare Logik
private:
Vec3 position;
Color color;
@ -31,4 +31,5 @@ private:
bool flippingForward = false;
bool flippingBackward = false;
float rotation = 0.0f;
};
};
// braucht bessere trennung von logik & darstellung