diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-08-28 19:04:26 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-08-28 19:04:26 +0300 |
commit | 285353c25289c83942af009ead88d2f74ff9f3d8 (patch) | |
tree | 4e94b24b833b970cf7297203040652fd7dbc7802 /source/blender/blenlib/BLI_math_boolean.hh | |
parent | 79e82dbc0574abe97f7316dc23441472594a3f57 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/blenlib/BLI_math_boolean.hh')
-rw-r--r-- | source/blender/blenlib/BLI_math_boolean.hh | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/source/blender/blenlib/BLI_math_boolean.hh b/source/blender/blenlib/BLI_math_boolean.hh index da79e9eeaba..79b1483bfb8 100644 --- a/source/blender/blenlib/BLI_math_boolean.hh +++ b/source/blender/blenlib/BLI_math_boolean.hh @@ -25,24 +25,23 @@ #include "BLI_double3.hh" #ifdef WITH_GMP -#include "BLI_math_mpq.hh" -#include "BLI_mpq2.hh" -#include "BLI_mpq3.hh" +# include "BLI_math_mpq.hh" +# include "BLI_mpq2.hh" +# include "BLI_mpq3.hh" #endif namespace blender { /* #orient2d gives the exact result, using multi-precision arithmetic when result -* is close to zero. orient3d_fast just uses double arithmetic, so may be -* wrong if the answer is very close to zero. -* Similarly, for #incircle and #incircle_fast. */ + * is close to zero. orient3d_fast just uses double arithmetic, so may be + * wrong if the answer is very close to zero. + * Similarly, for #incircle and #incircle_fast. */ int orient2d(const double2 &a, const double2 &b, const double2 &c); int orient2d_fast(const double2 &a, const double2 &b, const double2 &c); int incircle(const double2 &a, const double2 &b, const double2 &c, const double2 &d); int incircle_fast(const double2 &a, const double2 &b, const double2 &c, const double2 &d); - /* #orient3d gives the exact result, using multi-precision arithmetic when result * is close to zero. orient3d_fast just uses double arithmetic, so may be * wrong if the answer is very close to zero. @@ -50,8 +49,10 @@ int incircle_fast(const double2 &a, const double2 &b, const double2 &c, const do int orient3d(const double3 &a, const double3 &b, const double3 &c, const double3 &d); int orient3d_fast(const double3 &a, const double3 &b, const double3 &c, const double3 &d); -int insphere(const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e); -int insphere_fast(const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e); +int insphere( + const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e); +int insphere_fast( + const double3 &a, const double3 &b, const double3 &c, const double3 &d, const double3 &e); #ifdef WITH_GMP int orient2d(const mpq2 &a, const mpq2 &b, const mpq2 &c); |