[Bf-blender-cvs] [f340595] master: Quadric: add common why doubles are used.

Campbell Barton noreply at git.blender.org
Sat May 23 14:39:25 CEST 2015


Commit: f340595dba8e883f6822c137afa1419af2e776f9
Author: Campbell Barton
Date:   Fri May 22 18:38:33 2015 +1000
Branches: master
https://developer.blender.org/rBf340595dba8e883f6822c137afa1419af2e776f9

Quadric: add common why doubles are used.

===================================================================

M	source/blender/blenlib/intern/quadric.c

===================================================================

diff --git a/source/blender/blenlib/intern/quadric.c b/source/blender/blenlib/intern/quadric.c
index c1abace..588cd9c 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"




More information about the Bf-blender-cvs mailing list