mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
improve geo
This commit is contained in:
parent
4034a731e3
commit
99bcb73c10
@ -63,6 +63,7 @@ const Geometry = defineComponent({
|
|||||||
geometry.setAttribute(attribute.name, bufferAttribute)
|
geometry.setAttribute(attribute.name, bufferAttribute)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
geometry.computeBoundingBox()
|
||||||
this.geometry = geometry
|
this.geometry = geometry
|
||||||
},
|
},
|
||||||
rotateGeometry() {
|
rotateGeometry() {
|
||||||
|
Loading…
Reference in New Issue
Block a user