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/Geometry.d.ts>Geometry#computeBoundingSphere

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

Computes bounding sphere of the geometry, updating Geometry.boundingSphere attribute. Neither bounding boxes or bounding spheres are computed by default. They need to be explicitly computed, otherwise they are null.