diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-22 11:38:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-23 15:37:46 +0300 |
commit | f340595dba8e883f6822c137afa1419af2e776f9 (patch) | |
tree | a78dfa704d9383047be0af8b6adc5986ad0bce2e /source/blender/blenlib/intern/quadric.c | |
parent | bc830763557aa126364411dcc81b8535fdfa8694 (diff) |
Quadric: add common why doubles are used.
Diffstat (limited to 'source/blender/blenlib/intern/quadric.c')
-rw-r--r-- | source/blender/blenlib/intern/quadric.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/quadric.c b/source/blender/blenlib/intern/quadric.c index c1abacee42e..588cd9c2cb5 100644 --- a/source/blender/blenlib/intern/quadric.c +++ b/source/blender/blenlib/intern/quadric.c @@ -29,7 +29,13 @@ * \note This isn't fully complete, * possible there are other useful functions to add here. * - * \note try to follow BLI_math naming convention here. + * \note follow BLI_math naming convention here. + * + * \note this uses doubles for internal calculations, + * even though input/output are floats in some cases. + * + * This is done because the cases quadrics are useful + * often need high precision, see T44780. */ #include "BLI_math.h" |