mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-24 21:41:33 +02:00
12 lines
238 B
OpenSCAD
12 lines
238 B
OpenSCAD
use <voxel/vx_circle.scad>;
|
|
use <util/contains.scad>;
|
|
|
|
module test_contains() {
|
|
echo("==== test_contains ====");
|
|
|
|
pts = vx_circle(10);
|
|
assert(contains(pts, [2, -10]));
|
|
assert(!contains(pts, [0, 0]));
|
|
}
|
|
|
|
test_contains(); |