Skip to content
Snippets Groups Projects
Commit 7c0435c1 authored by Alexander Rose's avatar Alexander Rose
Browse files

lower sphere details boundingSphereHelper

parent 147f1eb5
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,11 @@ export class BoundingSphereHelper {
update() {
const builder = MeshBuilder.create(1024, 512, this.mesh)
if (this.scene.boundingSphere.radius) {
addSphere(builder, this.scene.boundingSphere.center, this.scene.boundingSphere.radius, 3)
addSphere(builder, this.scene.boundingSphere.center, this.scene.boundingSphere.radius, 2)
}
this.scene.forEach(r => {
if (r.boundingSphere.radius) {
addSphere(builder, r.boundingSphere.center, r.boundingSphere.radius, 3)
addSphere(builder, r.boundingSphere.center, r.boundingSphere.radius, 2)
}
})
this.mesh = builder.getMesh()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment