Split compat.scad out into errors.scad and common.scad

This commit is contained in:
Revar Desmera
2019-05-15 21:07:27 -07:00
parent b3c334a6af
commit 26d16a3187
8 changed files with 127 additions and 106 deletions

View File

@@ -53,8 +53,8 @@ module test_vector_angle() {
}
assert(abs(vector_angle([10,10,0],[10,0,0])-45) < EPSILON);
assert(abs(vector_angle([[10,10,0],[10,0,0]])-45) < EPSILON);
assert(abs(vector_angle([11,11,1],[1,1,1],[11,-11,1])-90) < EPSILON);
assert(abs(vector_angle([[11,11,1],[1,1,1],[11,-11,1]])-90) < EPSILON);
assert(abs(vector_angle([11,11,1],[1,1,1],[11,-9,1])-90) < EPSILON);
assert(abs(vector_angle([[11,11,1],[1,1,1],[11,-9,1]])-90) < EPSILON);
}
test_vector_angle();