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.
This commit is contained in:
2015-06-24 07:14:33 +10:00
parent 40a345a9c7
commit f1bad1d16b
3 changed files with 48 additions and 7 deletions

View File

@@ -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
*