// by crossing a and b to get a rotation axis and using
// angle_between to get a rotation angle.
var angle = this.angle_between(this.unit(a), this.unit(b));
- if (Math.abs(angle) < 1e-15) {
- // No siginificant rotation to perform. Bail to avoid
+ if (Math.abs(angle) < 1e-7) {
+ // No significant rotation to perform. Bail to avoid
// NaNs and numerical error
return points;
}