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>2015-05-22 11:38:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-23 15:37:46 +0300
commitf340595dba8e883f6822c137afa1419af2e776f9 (patch)
treea78dfa704d9383047be0af8b6adc5986ad0bce2e /source/blender/blenlib/intern/quadric.c
parentbc830763557aa126364411dcc81b8535fdfa8694 (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.c8
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"