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>2010-10-03 18:16:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-03 18:16:27 +0400
commit157d1205a42b07042d8abdb590034940b68f0b12 (patch)
treecdf1383d103835dd094ef3f7d9df1e4018f72aa5 /source/blender/blenlib/BLI_math_vector.h
parented7ffb111a7021275738c1710ca34218d851e652 (diff)
added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings.
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r--source/blender/blenlib/BLI_math_vector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h
index 215ddf2f2d9..b160097a33d 100644
--- a/source/blender/blenlib/BLI_math_vector.h
+++ b/source/blender/blenlib/BLI_math_vector.h
@@ -95,6 +95,7 @@ MINLINE void star_m3_v3(float R[3][3],float a[3]);
MINLINE float len_v2(const float a[2]);
MINLINE float len_v2v2(const float a[2], const float b[2]);
+MINLINE float len_squared_v2v2(const float a[3], const float b[3]);
MINLINE float len_v3(const float a[3]);
MINLINE float len_v3v3(const float a[3], const float b[3]);
MINLINE float len_squared_v3v3(const float a[3], const float b[3]);