Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/core/BufferGeometry.d.ts>BufferGeometry#computeBoundingSphere

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method BufferGeometry.prototype.computeBoundingSphere
import { BufferGeometry } from "https://deno.land/x/threejs_4_deno@v121/src/core/BufferGeometry.d.ts";

Computes bounding sphere of the geometry, updating Geometry.boundingSphere attribute. Bounding spheres aren't' computed by default. They need to be explicitly computed, otherwise they are null.