Fix for ghosts being rendered in correct order

This commit is contained in:
2023-10-20 21:46:03 -04:00
parent a40cef5e93
commit a25f8107ba
5 changed files with 39 additions and 17 deletions

View File

@@ -8,6 +8,7 @@ class Ghost {
Ghost(float xmin, float xmax, float zmin, float zmax);
void apply_movement(float curr_time, float timed);
glm::mat4 get_model(glm::vec3 &camera_pos);
glm::vec3 get_pos() const;
private:
int ghost_id;