gamecube verbesserungen
This commit is contained in:
parent
08ded96060
commit
65cb29a65a
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user