[postgis-tickets] r17372 - Formatting :/
Paul Ramsey
pramsey at cleverelephant.ca
Fri Mar 29 02:18:25 PDT 2019
Author: pramsey
Date: 2019-03-29 14:18:25 -0700 (Fri, 29 Mar 2019)
New Revision: 17372
Modified:
trunk/liblwgeom/lwstroke.c
Log:
Formatting :/
Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c 2019-03-29 15:56:43 UTC (rev 17371)
+++ trunk/liblwgeom/lwstroke.c 2019-03-29 21:18:25 UTC (rev 17372)
@@ -1042,8 +1042,8 @@
else {
lw_arc_center((POINT2D*)&first, (POINT2D*)&b, (POINT2D*)&a1, (POINT2D*)¢er);
angle = lw_arc_angle((POINT2D*)&first, (POINT2D*)¢er, (POINT2D*)&b);
- int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b);
- if ( p2_side >= 0 ) angle = -angle;
+ int p2_side = lw_segment_side((POINT2D*)&first, (POINT2D*)&a1, (POINT2D*)&b);
+ if ( p2_side >= 0 ) angle = -angle;
if ( angle < 0 ) angle = 2 * M_PI + angle;
num_quadrants = ( 4 * angle ) / ( 2 * M_PI );
More information about the postgis-tickets
mailing list