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

x/threejs_4_deno/src/extras/ShapeUtils.d.ts>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/extras/ShapeUtils.d.ts";
const { area } = ShapeUtils;

Parameters

contour: Vec2[]

Returns

number