Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/Three.js>ShapeUtils.area

A simple transformation of three.js for use within a Deno workflow
Go to Latest
function ShapeUtils.area
import { ShapeUtils } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
const { area } = ShapeUtils;

Parameters

contour: Vec2[]

Returns

number