1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:43:00 +02:00

poly2d/p2d_attrib.c (angle_3): put spaces around operators

This commit is contained in:
Werner Almesberger 2015-01-18 20:17:58 -03:00
parent 6084b52c15
commit de7df0b41c

View File

@ -39,7 +39,7 @@ static double angle_3(const struct v2d *a, const struct v2d *b,
angle = acos((ax * bx + ay * by) / aa / bb) / M_PI * 180.0;
return (ax*by-ay*bx) >= 0 ? angle : -angle;
return ax * by - ay * bx >= 0 ? angle : -angle;
}
/*