demo buggy heightmap

This commit is contained in:
h4570
2022-08-01 10:04:21 +02:00
parent 47c323ec9e
commit 34b2956c08
12 changed files with 194 additions and 33 deletions
+4 -3
View File
@@ -27,17 +27,18 @@ class Player {
Player(Engine* engine);
~Player();
const Vec4& getPosition() const { return position; }
CameraInfo3D getCameraInfo() { return camera.getCameraInfo(); }
std::vector<RendererStaticPair*> staticPairs;
std::vector<RendererDynamicPair*> dynamicPairs;
void update();
void update(const float& terrainHeight);
private:
void handlePlayerPosition();
void handlePlayerPosition(const float& terrainHeight);
float speed;
float speed;
Pad* pad;
Vec4 position;
Weapon weapon;