expose indexVertices in csg

This commit is contained in:
Stewart Allen 2022-11-15 23:45:45 -05:00
commit a2bc54808e
3 changed files with 14 additions and 17 deletions

View file

@ -74,8 +74,9 @@ const CSG = {
const vmin = new THREE.Vector3(min.x, min.y, min.z);
const vmax = new THREE.Vector3(max.x, max.y, max.z);
return new THREE.Box3(vmin, vmax);
}
},
indexVertices
};
function indexVertices(pos) {