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:
authorMiika Hamalainen <blender@miikah.org>2011-07-08 15:16:13 +0400
committerMiika Hamalainen <blender@miikah.org>2011-07-08 15:16:13 +0400
commit242043977381fae6769a5eee264df3aa92dd52a4 (patch)
tree7cccaa4516cb1a4a266f1cf74caedc3e8fccad6b /source/blender/blenlib/intern/math_geom.c
parentf8f1cbd17f2b0c624d88ee7f7502e544472b4b6e (diff)
parent936737b70fc6b44411c0f03dd5acc1eb23777b5b (diff)
Merge with trunk r38225
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 47bbb93d01d..0c9508efc27 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -445,7 +445,7 @@ int isect_line_sphere_v2(const float l1[2], const float l2[2],
l2[1] - l1[1]
};
- const float a= dot_v3v3(ldir, ldir);
+ const float a= dot_v2v2(ldir, ldir);
const float b= 2.0f *
(ldir[0] * (l1[0] - sp[0]) +