diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-11 04:41:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-11 05:03:09 +0300 |
commit | 5e47056e8d97e414c9dabacea71fac2bdc7d2818 (patch) | |
tree | 110a51be7cfb2f9eff9fd8db093975e29e1a3445 /source/blender/blenlib/intern | |
parent | 1c264ebdc089ea6afef7be4edeb1add4998a1099 (diff) |
Cleanup: malformed C-style comment blocks, spelling
- Missing star prefix.
- Unnecessary indentation.
- Blank line after dot-points
(otherwise doxygen merges with the previous dot-point).
- Use back-slash for doxygen commands.
- Correct spelling.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/delaunay_2d.cc | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_boolean.cc | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/source/blender/blenlib/intern/delaunay_2d.cc b/source/blender/blenlib/intern/delaunay_2d.cc index 804ba5c3c80..ece22bcf82e 100644 --- a/source/blender/blenlib/intern/delaunay_2d.cc +++ b/source/blender/blenlib/intern/delaunay_2d.cc @@ -2807,7 +2807,7 @@ blender::meshintersect::CDT_result<mpq_class> delaunay_2d_calc(const CDT_input<m /* C interface. */ /** - This function uses the double version of #CDT::delaunay_calc. + * This function uses the double version of #CDT::delaunay_calc. * Almost all of the work here is to convert between C++ #Arrays<Vector<int>> * and a C version that linearizes all the elements and uses a "start" * and "len" array to say where the individual vectors start and how diff --git a/source/blender/blenlib/intern/math_boolean.cc b/source/blender/blenlib/intern/math_boolean.cc index 885d2c13b49..132d5dfda65 100644 --- a/source/blender/blenlib/intern/math_boolean.cc +++ b/source/blender/blenlib/intern/math_boolean.cc @@ -1857,23 +1857,23 @@ double incircle(const double *pa, const double *pb, const double *pc, const doub } /** - * inspherefast() Approximate 3D insphere test. Non-robust. - * insphere() Adaptive exact 3D insphere test. Robust. + * inspherefast() Approximate 3D insphere test. Non-robust. + * insphere() Adaptive exact 3D insphere test. Robust. * - * Return a positive value if the point pe lies inside the - * sphere passing through pa, pb, pc, and pd; a negative value - * if it lies outside; and zero if the five points are - * co-spherical. The points pa, pb, pc, and pd must be ordered - * so that they have a positive orientation (as defined by - * orient3d()), or the sign of the result will be reversed. + * Return a positive value if the point pe lies inside the + * sphere passing through pa, pb, pc, and pd; a negative value + * if it lies outside; and zero if the five points are + * co-spherical. The points pa, pb, pc, and pd must be ordered + * so that they have a positive orientation (as defined by + * orient3d()), or the sign of the result will be reversed. * - * The second uses exact arithmetic to ensure a correct answer. The - * result returned is the determinant of a matrix. In insphere() only, - * this determinant is computed adaptively, in the sense that exact - * arithmetic is used only to the degree it is needed to ensure that the - * returned value has the correct sign. Hence, insphere() is usually quite - * fast, but will run more slowly when the input points are co-spherical or - * nearly so. + * The second uses exact arithmetic to ensure a correct answer. The + * result returned is the determinant of a matrix. In insphere() only, + * this determinant is computed adaptively, in the sense that exact + * arithmetic is used only to the degree it is needed to ensure that the + * returned value has the correct sign. Hence, insphere() is usually quite + * fast, but will run more slowly when the input points are co-spherical or + * nearly so. */ double inspherefast( |