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

@@ -107,3 +107,7 @@ float rand_float(float rmin, float rmax) {
float res = (float)rand()/(float)RAND_MAX;
return res * rdiff + rmin;
}
glm::vec3 Ghost::get_pos() const {
return pos;
}