diff options
-rw-r--r-- | source/blender/blenkernel/intern/gpencil_geom.c | 5 | ||||
-rw-r--r-- | source/blender/blenlib/tests/BLI_polyfill_2d_test.cc | 16 |
2 files changed, 11 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_geom.c b/source/blender/blenkernel/intern/gpencil_geom.c index 981f5d50353..60ffa3c3e73 100644 --- a/source/blender/blenkernel/intern/gpencil_geom.c +++ b/source/blender/blenkernel/intern/gpencil_geom.c @@ -1684,11 +1684,12 @@ void BKE_gpencil_stroke_normal(const bGPDstroke *gps, float r_normal[3]) /* Stroke Simplify ------------------------------------- */ -/** Reduce a series of points to a simplified version, but +/** + * Reduce a series of points to a simplified version, but * maintains the general shape of the series * * Ramer - Douglas - Peucker algorithm - * by http ://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm + * by http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm * \param gpd: Grease pencil data-block * \param gps: Grease pencil stroke * \param epsilon: Epsilon value to define precision of the algorithm diff --git a/source/blender/blenlib/tests/BLI_polyfill_2d_test.cc b/source/blender/blenlib/tests/BLI_polyfill_2d_test.cc index 6ef94bd62e3..8bf5dd0bc9b 100644 --- a/source/blender/blenlib/tests/BLI_polyfill_2d_test.cc +++ b/source/blender/blenlib/tests/BLI_polyfill_2d_test.cc @@ -491,7 +491,7 @@ TEST(polyfill2d, Spiral) TEST_POLYFILL_TEMPLATE_STATIC(poly, false); } -/* Test case from http:# www.flipcode.com/archives/Efficient_Polygon_Triangulation.shtml */ +/* Test case from http://www.flipcode.com/archives/Efficient_Polygon_Triangulation.shtml */ TEST(polyfill2d, TestFlipCode) { const float poly[][2] = { @@ -561,7 +561,7 @@ TEST(polyfill2d, SelfOverlap) TEST_POLYFILL_TEMPLATE_STATIC(poly, true); } -/* Test case from http:# www.davdata.nl/math/polygons.html */ +/* Test case from http://www.davdata.nl/math/polygons.html */ TEST(polyfill2d, TestDavData) { const float poly[][2] = { @@ -573,7 +573,7 @@ TEST(polyfill2d, TestDavData) TEST_POLYFILL_TEMPLATE_STATIC(poly, false); } -/* Issue 815, http:# code.google.com/p/libgdx/issues/detail?id=815 */ +/* Issue 815, http://code.google.com/p/libgdx/issues/detail?id=815 */ TEST(polyfill2d, Issue815) { const float poly[][2] = { @@ -589,7 +589,7 @@ TEST(polyfill2d, Issue815) TEST_POLYFILL_TEMPLATE_STATIC(poly, false); } -/* Issue 207, comment #1, http:# code.google.com/p/libgdx/issues/detail?id=207#c1 */ +/* Issue 207, comment #1, http://code.google.com/p/libgdx/issues/detail?id=207#c1 */ TEST(polyfill2d, Issue207_1) { const float poly[][2] = { @@ -608,8 +608,8 @@ TEST(polyfill2d, Issue207_1) TEST_POLYFILL_TEMPLATE_STATIC(poly, true); } -/* Issue 207, comment #11, http:# code.google.com/p/libgdx/issues/detail?id=207#c11 */ -/* Also on issue 1081, http:# code.google.com/p/libgdx/issues/detail?id=1081 */ +/* Issue 207, comment #11, http://code.google.com/p/libgdx/issues/detail?id=207#c11 */ +/* Also on issue 1081, http://code.google.com/p/libgdx/issues/detail?id=1081 */ TEST(polyfill2d, Issue207_11) { const float poly[][2] = { @@ -628,7 +628,7 @@ TEST(polyfill2d, Issue207_11) TEST_POLYFILL_TEMPLATE_STATIC(poly, false); } -/* Issue 1407, http:# code.google.com/p/libgdx/issues/detail?id=1407 */ +/* Issue 1407, http://code.google.com/p/libgdx/issues/detail?id=1407 */ TEST(polyfill2d, Issue1407) { const float poly[][2] = { @@ -640,7 +640,7 @@ TEST(polyfill2d, Issue1407) TEST_POLYFILL_TEMPLATE_STATIC(poly, false); } -/* Issue 1407, http:# code.google.com/p/libgdx/issues/detail?id=1407, */ +/* Issue 1407, http://code.google.com/p/libgdx/issues/detail?id=1407, */ /* with an additional point to show what is happening. */ TEST(polyfill2d, Issue1407_pt) { |