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>2014-04-01 09:46:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-01 09:53:15 +0400
commite95fd792582324bd93077358e0393e78273a76d3 (patch)
tree6551c12588f5f3729dd4826955d196a267c643f8 /source/blender/blenlib
parent11299f5ff405a7668ae06ee7ea5495b624f9ce9a (diff)
Correction for error in own recent commit (makesrna c++ api, un-init var)
Diffstat (limited to 'source/blender/blenlib')
-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 71a6e195631..01dbe01d152 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -2379,7 +2379,7 @@ void barycentric_transform(float pt_tar[3], float const pt_src[3],
const float tri_src_p1[3], const float tri_src_p2[3], const float tri_src_p3[3])
{
/* this works by moving the source triangle so its normal is pointing on the Z
- * axis where its barycentric wights can be calculated in 2D and its Z offset can
+ * axis where its barycentric weights can be calculated in 2D and its Z offset can
* be re-applied. The weights are applied directly to the targets 3D points and the
* z-depth is used to scale the targets normal as an offset.
* This saves transforming the target into its Z-Up orientation and back (which could also work) */