Cleanups to UBL code

2.0.x
Scott Lahteine 8 years ago
parent 39c6c5621b
commit cd72901fb7

@ -250,10 +250,8 @@
const float m = dy / dx,
c = start[Y_AXIS] - m * start[X_AXIS];
bool inf_normalized_flag, inf_m_flag;
inf_normalized_flag = isinf(e_normalized_dist);
inf_m_flag = isinf(m);
const bool inf_normalized_flag = isinf(e_normalized_dist),
inf_m_flag = isinf(m);
/**
* This block handles vertical lines. These are lines that stay within the same

Loading…
Cancel
Save