Cleanups to UBL code
This commit is contained in:
parent
39c6c5621b
commit
cd72901fb7
@ -250,10 +250,8 @@
|
|||||||
const float m = dy / dx,
|
const float m = dy / dx,
|
||||||
c = start[Y_AXIS] - m * start[X_AXIS];
|
c = start[Y_AXIS] - m * start[X_AXIS];
|
||||||
|
|
||||||
bool inf_normalized_flag, inf_m_flag;
|
const bool inf_normalized_flag = isinf(e_normalized_dist),
|
||||||
|
inf_m_flag = isinf(m);
|
||||||
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
|
* This block handles vertical lines. These are lines that stay within the same
|
||||||
|
Loading…
Reference in New Issue
Block a user