Added a comment for last commit
This commit is contained in:
@@ -59,6 +59,8 @@ DiagonalCurve::DiagonalCurve (const std::vector<double>& p, int poly_pn)
|
||||
y[i] = p[ix++];
|
||||
|
||||
if (std::fabs(x[i] - y[i]) >= 0.000009) {
|
||||
// the smallest possible difference between x and y curve point values is ~ 0.00001
|
||||
// checking against >= 0.000009 is a bit saver than checking against >= 0.00001
|
||||
identity = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user