Browse Source

Merge pull request #81986 from spazzylemons/master

Remove unnecessary line from Projection::get_z_far
Rémi Verschelde 1 year ago
parent
commit
59139df16e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      core/math/projection.cpp

+ 0 - 1
core/math/projection.cpp

@@ -408,7 +408,6 @@ real_t Projection::get_z_far() const {
 			matrix[11] - matrix[10],
 			matrix[11] - matrix[10],
 			matrix[15] - matrix[14]);
 			matrix[15] - matrix[14]);
 
 
-	new_plane.normal = -new_plane.normal;
 	new_plane.normalize();
 	new_plane.normalize();
 
 
 	return new_plane.d;
 	return new_plane.d;