diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-24 00:14:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-24 00:21:11 +0300 |
commit | f1bad1d16b1c2ac2c38bf0adb774d1362b646fbf (patch) | |
tree | 2424ebc85ddccc7db82bdca1beb109252bea7fcf /source/blender/blenlib/BLI_math.h | |
parent | 40a345a9c75259216c158ec509e756c4d3f19fd5 (diff) |
Improve dist_***_to_corner_v3v3v3 precision
Remove offset before calculating distance.
Define 'plane3' to BLI_math, since we often don't need the 4th component.
Diffstat (limited to 'source/blender/blenlib/BLI_math.h')
-rw-r--r-- | source/blender/blenlib/BLI_math.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math.h b/source/blender/blenlib/BLI_math.h index 62ed8045109..ce0183eee68 100644 --- a/source/blender/blenlib/BLI_math.h +++ b/source/blender/blenlib/BLI_math.h @@ -43,6 +43,8 @@ * - ``m4`` = mat4 = matrix 4x4 * - ``eul`` = euler rotation * - ``eulO`` = euler with order + * - ``plane`` = plane 4, (vec3, distance) + * - ``plane3`` = plane 3 (same as a ``plane`` with a zero 4th component) * * \subsection mathabbrev_all Function Type Abbreviations * |