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

x/threejs_4_deno/src/Three.d.ts>MathUtils.isPowerOfTwo

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

Parameters

value: number

Returns

boolean