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:
authorGermano <germano.costa@ig.com.br>2018-05-13 00:18:32 +0300
committerGermano <germano.costa@ig.com.br>2018-05-13 00:18:32 +0300
commit894639f9a59c3a4f1ae1b3fb4ccbf1f46e31669c (patch)
tree0236d8296701c972d89cfb3e79ab20d5b443e5be /source/blender/blenlib/BLI_math_geom.h
parentf897d953727074c6916c3a15b21a072cbc5ffa8a (diff)
Cleanup: BLI_math: Simplify dist_squared_to_projected_aabb functions.
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r--source/blender/blenlib/BLI_math_geom.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h
index d4112254fcf..fa3392cd293 100644
--- a/source/blender/blenlib/BLI_math_geom.h
+++ b/source/blender/blenlib/BLI_math_geom.h
@@ -144,14 +144,11 @@ struct DistProjectedAABBPrecalc {
float ray_origin[3];
float ray_direction[3];
float ray_inv_dir[3];
-
float pmat[4][4];
-
float mval[2];
- bool sign[3];
};
void dist_squared_to_projected_aabb_precalc(
- struct DistProjectedAABBPrecalc *neasrest_precalc,
+ struct DistProjectedAABBPrecalc *precalc,
const float projmat[4][4], const float winsize[2], const float mval[2]);
float dist_squared_to_projected_aabb(
struct DistProjectedAABBPrecalc *data,