Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-21 10:25:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-21 10:25:09 +0300
commit19df0e3cfd5b9fed891ed81dd1123b2351605a7d (patch)
treeb390440664c2966fdf9adad0148e4869556fc5bb /source/blender/blenlib/intern/math_geom.c
parentb2510b9e20a4b6ce6bee68e89a801c33b4c2bf9d (diff)
Cleanup: swap top/bottom args to planes_from_projmat
X & Z were ordered min/max, where as Y was max/min.
Diffstat (limited to 'source/blender/blenlib/intern/math_geom.c')
-rw-r--r--source/blender/blenlib/intern/math_geom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index 0a5dc8517d8..7de6e9f843a 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -4911,8 +4911,8 @@ void window_translate_m4(float winmat[4][4], float perspmat[4][4], const float x
void planes_from_projmat(const float mat[4][4],
float left[4],
float right[4],
- float top[4],
float bottom[4],
+ float top[4],
float near[4],
float far[4])
{