diff --git a/src/geometries/Geometry.ts b/src/geometries/Geometry.ts index 00ecb74..26cb21d 100644 --- a/src/geometries/Geometry.ts +++ b/src/geometries/Geometry.ts @@ -63,6 +63,7 @@ const Geometry = defineComponent({ geometry.setAttribute(attribute.name, bufferAttribute) } }) + geometry.computeBoundingBox() this.geometry = geometry }, rotateGeometry() {