summaryrefslogtreecommitdiffstats
path: root/core/math/projection.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-20 18:55:32 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-20 18:55:32 +0200
commit59139df16e7a10c3b9176f697d23b557af46601e (patch)
tree87d0bf357ae7d8e0094441d290ba54657dd45942 /core/math/projection.cpp
parent70150bac8a352cefdc9754ec9d86f13356a3d0c4 (diff)
parent9f21dfbafd1e93b76a8bfdf4b5a1ec1ec12d697d (diff)
downloadredot-engine-59139df16e7a10c3b9176f697d23b557af46601e.tar.gz
Merge pull request #81986 from spazzylemons/master
Remove unnecessary line from Projection::get_z_far
Diffstat (limited to 'core/math/projection.cpp')
-rw-r--r--core/math/projection.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/math/projection.cpp b/core/math/projection.cpp
index a304318e2e..9d5dc8b4d6 100644
--- a/core/math/projection.cpp
+++ b/core/math/projection.cpp
@@ -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;