1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-23 20:02:32 +08:00

improve geo

This commit is contained in:
Kevin Levron 2021-04-28 19:54:46 +02:00
parent 4034a731e3
commit 99bcb73c10

View File

@ -63,6 +63,7 @@ const Geometry = defineComponent({
geometry.setAttribute(attribute.name, bufferAttribute)
}
})
geometry.computeBoundingBox()
this.geometry = geometry
},
rotateGeometry() {