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:
@@ -163,10 +163,9 @@ namespace agg
|
||||
{
|
||||
double a1 = atan2(dy1 * m_width_sign, dx1 * 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;
|
||||
|
||||
da = acos(m_width_abs / (m_width_abs + 0.125 / m_approx_scale)) * 2;
|
||||
|
||||
out_vertices.add(coord_type(x + dx1, y + dy1));
|
||||
if(m_width_sign > 0)
|
||||
|
||||
Reference in New Issue
Block a user