headers/libs/agg Fix PVS 33

* Fix successive assignment of 'da'

	* also trailing whitespace removal

Change-Id: Ic127150c18c042839d4104ccc5830adf19550399
Reviewed-on: https://review.haiku-os.org/c/954
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Rob Gill
2019-01-29 04:04:01 +00:00
committed by waddlesplash
parent d1f885b435
commit 434c347111
+1 -2
View File
@@ -163,10 +163,9 @@ namespace agg
{ {
double a1 = atan2(dy1 * m_width_sign, dx1 * m_width_sign); double a1 = atan2(dy1 * m_width_sign, dx1 * m_width_sign);
double a2 = atan2(dy2 * m_width_sign, dx2 * m_width_sign); double a2 = atan2(dy2 * m_width_sign, dx2 * m_width_sign);
double da = a1 - a2; double da = acos(m_width_abs / (m_width_abs + 0.125 / m_approx_scale)) * 2;
int i, n; int i, n;
da = acos(m_width_abs / (m_width_abs + 0.125 / m_approx_scale)) * 2;
out_vertices.add(coord_type(x + dx1, y + dy1)); out_vertices.add(coord_type(x + dx1, y + dy1));
if(m_width_sign > 0) if(m_width_sign > 0)