1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-05 22:37:35 +02:00

update doc

This commit is contained in:
Justin Lin
2019-06-08 08:34:38 +08:00
parent 5e3d1ced28
commit 91d39de4a6

View File

@@ -25,7 +25,7 @@ Checks wether a point is inside a shape.
ys = rands(-16, 16, n); ys = rands(-16, 16, n);
pts = [ pts = [
for(i = [0:n]) for(i = [0:n - 1])
let(p = [xs[i], ys[i]]) let(p = [xs[i], ys[i]])
if(in_shape(points, p, true)) if(in_shape(points, p, true))
p p