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>2011-05-08 14:29:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-08 14:29:40 +0400
commitd4e540dff398c8a438ecdd0d13f9de9acc07f46c (patch)
tree4c2277ab4ad2be01fae72c4281a8c1d857cacc6e /source/blender/blenlib
parented3fd722108ea4d41167c8339a97ecd818e78cdf (diff)
comment some unused code.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/math_geom.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index 500b0625177..be7f2d95d04 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -529,8 +529,9 @@ int isect_ray_tri_v3(const float p1[3], const float d[3], const float v0[3], con
int isect_ray_plane_v3(float p1[3], float d[3], float v0[3], float v1[3], float v2[3], float *lambda, int clip)
{
float p[3], s[3], e1[3], e2[3], q[3];
- float a, f, u, v;
-
+ float a, f;
+ /* float u, v; */ /*UNUSED*/
+
sub_v3_v3v3(e1, v1, v0);
sub_v3_v3v3(e2, v2, v0);
@@ -543,11 +544,11 @@ int isect_ray_plane_v3(float p1[3], float d[3], float v0[3], float v1[3], float
sub_v3_v3v3(s, p1, v0);
- u = f * dot_v3v3(s, p);
+ /* u = f * dot_v3v3(s, p); */ /*UNUSED*/
cross_v3_v3v3(q, s, e1);
- v = f * dot_v3v3(d, q);
+ /* v = f * dot_v3v3(d, q); */ /*UNUSED*/
*lambda = f * dot_v3v3(e2, q);
if (clip && (*lambda < 0.0f)) return 0;