diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-24 20:52:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-24 20:52:51 +0300 |
commit | fdfb46337cb56281db54a7faf43d4e302da6415c (patch) | |
tree | a06295949e251402a35871e1bdbc88c0b5fd68c4 /source/blender/blenlib/BLI_math_vector.h | |
parent | 6ab34157fd80a9ec993f56a5e92888f66bab3cd9 (diff) |
- Use vector interpolation functions from math_vector module in
curve subdivision operator.
- Added function interp_v4_v4v4().
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 1 |
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 7780c51095f..3ed8169f260 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -106,6 +106,7 @@ void interp_v2_v2v2v2(float r[2], const float a[2], const float b[2], const floa void interp_v3_v3v3(float r[3], const float a[3], const float b[3], const float t); void interp_v3_v3v3v3(float p[3], const float v1[3], const float v2[3], const float v3[3], const float w[3]); void interp_v3_v3v3v3v3(float p[3], const float v1[3], const float v2[3], const float v3[3], const float v4[3], const float w[4]); +void interp_v4_v4v4(float r[4], const float a[4], const float b[4], const float t); void mid_v3_v3v3(float r[3], float a[3], float b[3]); |