From 894639f9a59c3a4f1ae1b3fb4ccbf1f46e31669c Mon Sep 17 00:00:00 2001 From: Germano Date: Sat, 12 May 2018 18:18:32 -0300 Subject: Cleanup: BLI_math: Simplify dist_squared_to_projected_aabb functions. --- source/blender/blenlib/BLI_math_geom.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/blender/blenlib/BLI_math_geom.h') 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, -- cgit v1.2.3