Skip to content

Commit

Permalink
Merge pull request godotengine#81986 from spazzylemons/master
Browse files Browse the repository at this point in the history
Remove unnecessary line from Projection::get_z_far
  • Loading branch information
akien-mga committed Sep 20, 2023
2 parents 70150ba + 9f21dfb commit 59139df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/math/projection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ real_t Projection::get_z_far() const {
matrix[11] - matrix[10],
matrix[15] - matrix[14]);

new_plane.normal = -new_plane.normal;
new_plane.normalize();

return new_plane.d;
Expand Down

0 comments on commit 59139df

Please sign in to comment.