mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-17 06:08:32 +01:00
commit
de946381ae
@ -29,6 +29,7 @@ test_point3d();
|
||||
|
||||
module test_path3d() {
|
||||
assert(path3d([[1,2], [3,4], [5,6], [7,8]])==[[1,2,0],[3,4,0],[5,6,0],[7,8,0]]);
|
||||
assert(path3d([[1,2], [3,4], [5,6], [7,8]],9)==[[1,2,9],[3,4,9],[5,6,9],[7,8,9]]);
|
||||
assert(path3d([[1,2,3], [2,3,4], [3,4,5], [4,5,6]])==[[1,2,3],[2,3,4],[3,4,5],[4,5,6]]);
|
||||
assert(path3d([[1,2,3,4], [2,3,4,5], [3,4,5,6], [4,5,6,7]])==[[1,2,3],[2,3,4],[3,4,5],[4,5,6]]);
|
||||
}
|
||||
@ -41,6 +42,9 @@ module test_point4d() {
|
||||
assert(point4d([1,2,3])==[1,2,3,0]);
|
||||
assert(point4d([2,3])==[2,3,0,0]);
|
||||
assert(point4d([1])==[1,0,0,0]);
|
||||
assert(point4d([1,2,3],9)==[1,2,3,9]);
|
||||
assert(point4d([2,3],9)==[2,3,9,9]);
|
||||
assert(point4d([1],9)==[1,9,9,9]);
|
||||
}
|
||||
test_point4d();
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,406];
|
||||
BOSL_VERSION = [2,0,407];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user