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