Open DanTup opened 2 years ago
If you look at the code, there is only the option to keep objects or not:
for (let i = 0; i < objectsToIntersect.length; i++) {
if (!keepObjects) { sceneShapes = Remove(sceneShapes, objectsToIntersect[i]); }
}
If keepObjects
is not true, all objects used to intersect are removed from the scene. There is no option to keep some of the objects, it is all or nothing. So I guess it is a mistake in the documentation.
The text description here says keepObjects can be a
[boolean, boolean]
, but the type signature saysboolean?
:Trying to pass a list fails:
I'm not sure if the docs or implementation are wrong though.