Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.js>GeometryUtils.center

A simple transformation of three.js for use within a Deno workflow
Go to Latest
function GeometryUtils.center
Deprecated
Deprecated

Use Geometry#center | geometry.center() instead.

import { GeometryUtils } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
const { center } = GeometryUtils;

Parameters

geometry: any