gamecube verbesserungen
This commit is contained in:
parent
08ded96060
commit
65cb29a65a
@ -3,7 +3,7 @@
|
|||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
#include <rlgl.h>
|
#include <rlgl.h>
|
||||||
|
|
||||||
struct Vec3
|
struct Vec3 //anisch unnötig weil rylib schon vec3 hat
|
||||||
{
|
{
|
||||||
float x, y, z;
|
float x, y, z;
|
||||||
};
|
};
|
||||||
@ -22,7 +22,7 @@ public:
|
|||||||
Vec3 GetPosition() const;
|
Vec3 GetPosition() const;
|
||||||
float GetRotationY() const;
|
float GetRotationY() const;
|
||||||
Color GetColor() const { return color; }
|
Color GetColor() const { return color; }
|
||||||
|
//zustände klarer abbikden bzw weniger bools = klarare Logik
|
||||||
private:
|
private:
|
||||||
Vec3 position;
|
Vec3 position;
|
||||||
Color color;
|
Color color;
|
||||||
@ -32,3 +32,4 @@ private:
|
|||||||
bool flippingBackward = false;
|
bool flippingBackward = false;
|
||||||
float rotation = 0.0f;
|
float rotation = 0.0f;
|
||||||
};
|
};
|
||||||
|
// braucht bessere trennung von logik & darstellung
|
||||||
Loading…
x
Reference in New Issue
Block a user