Cleanups to UBL code

This commit is contained in:
Scott Lahteine 2017-04-30 16:10:02 -05:00
parent 39c6c5621b
commit cd72901fb7

View file

@ -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