equal
deleted
inserted
replaced
52 void generateTerrain (int seed); |
52 void generateTerrain (int seed); |
53 bool collided (Vector oldPos, Vector newPos); |
53 bool collided (Vector oldPos, Vector newPos); |
54 |
54 |
55 Vector getNormal(Vector hitPoint, Vector prevPoint); |
55 Vector getNormal(Vector hitPoint, Vector prevPoint); |
56 |
56 |
|
57 TerrainType getType(int x, int y) const; |
57 TerrainType getType(Vector pos) const; |
58 TerrainType getType(Vector pos) const; |
|
59 |
|
60 void removeGround(int x, int y, float r); |
|
61 void removeGround(Vector pos, float r); |
58 }; |
62 }; |
59 |
63 |
60 class PhysicsObject { |
64 class PhysicsObject { |
61 protected: |
65 protected: |
62 PhysicsWorld &world; |
66 PhysicsWorld &world; |