mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-09-01 17:33:07 +02:00
usage message fixes and doc tweaks
remove triangle area, optimize polygon_area for triangles
This commit is contained in:
@@ -29,6 +29,8 @@ module test_is_vector() {
|
||||
assert(is_vector([1,1,1],all_nonzero=true) == true);
|
||||
assert(is_vector([-1,1,1],all_nonzero=true) == true);
|
||||
assert(is_vector([-1,-1,-1],all_nonzero=true) == true);
|
||||
assert(!is_vector([3,INF,4]));
|
||||
assert(!is_vector([3,NAN,4]));
|
||||
}
|
||||
test_is_vector();
|
||||
|
||||
|
Reference in New Issue
Block a user