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>2015-10-15 18:59:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-15 19:06:12 +0300
commit99142ec7e0975203a60215d24db2d565dc10cc07 (patch)
treed9f3772d02a41c370afb831c650ed31c5648c65f /source/blender/blenlib/BLI_math_geom.h
parent2746bbe30ece2636e1231930cdaac9d897ebe717 (diff)
BLI_math: isect_ray_plane_v3 now takes 4d plane
Was taking a triangle and doing ray-tri intersect.
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r--source/blender/blenlib/BLI_math_geom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h
index b3526b6fc60..dfc51895c77 100644
--- a/source/blender/blenlib/BLI_math_geom.h
+++ b/source/blender/blenlib/BLI_math_geom.h
@@ -176,7 +176,7 @@ bool isect_line_line_strict_v3(const float v1[3], const float v2[3],
bool isect_ray_plane_v3(
const float p1[3], const float d[3],
- const float v0[3], const float v1[3], const float v2[3],
+ const float plane[4],
float *r_lambda, const bool clip);
bool isect_point_planes_v3(float (*planes)[4], int totplane, const float p[3]);