Skip to content

Commit

Permalink
remove mirror render testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-Lentz committed Jun 7, 2024
1 parent 8e5385e commit a62f584
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,6 @@ void Client::geometryPass() {
glm::vec3 pos = sharedObject->physics.getCenterPosition();
pos.y -= sharedObject->physics.dimensions.y / 2.0f;
pos.y += PLAYER_EYE_LEVEL;
pos.z += 3.0f;
cam->updatePos(pos);

// update listener position & facing
Expand All @@ -902,7 +901,7 @@ void Client::geometryPass() {
if (!sharedObject->playerInfo->is_alive) {
this->gui_state = GUIState::DEAD_SCREEN;
}
// break;
break;
}
if (!sharedObject->playerInfo->is_alive) {
break; // don't render dead players
Expand Down

0 comments on commit a62f584

Please sign in to comment.