mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-23 08:22:54 +02:00
fix tests
This commit is contained in:
@@ -216,12 +216,6 @@ test_affine3d_skew_yz();
|
||||
|
||||
////////////////////////////
|
||||
|
||||
module test_affine3d_frame_map() {
|
||||
assert(approx(affine3d_frame_map(x=[1,1,0], y=[-1,1,0]), affine3d_zrot(45)));
|
||||
}
|
||||
test_affine3d_frame_map();
|
||||
|
||||
|
||||
module test_apply() {
|
||||
assert(approx(apply(affine3d_xrot(90),2*UP),2*FRONT));
|
||||
assert(approx(apply(affine3d_yrot(90),2*UP),2*RIGHT));
|
||||
|
@@ -462,6 +462,11 @@ module test_xyzrot() {
|
||||
}
|
||||
test_xyzrot();
|
||||
|
||||
module test_frame_map() {
|
||||
assert(approx(frame_map(x=[1,1,0], y=[-1,1,0]), affine3d_zrot(45)));
|
||||
}
|
||||
test_frame_map();
|
||||
|
||||
|
||||
module test_skew() {
|
||||
m = affine3d_skew(sxy=2, sxz=3, syx=4, syz=5, szx=6, szy=7);
|
||||
|
Reference in New Issue
Block a user