renamed is_region_simple to is_valid_region and fixed bugs and added examples

fixed bugs in pair and triplet and added degenerate test cases
This commit is contained in:
Adrian Mariano
2021-11-03 22:30:01 -04:00
parent 530f3b3449
commit fe0586180e
8 changed files with 175 additions and 35 deletions

View File

@@ -427,6 +427,7 @@ function _turtle3d_state_valid(state) =
&& is_num(state[3])
&& is_num(state[4]);
module turtle3d(commands, state=RIGHT, transforms=false, full_state=false, repeat=1) {no_module();}
function turtle3d(commands, state=RIGHT, transforms=false, full_state=false, repeat=1) =
assert(is_bool(transforms))
let(