Global

Global

Methods

bound () Deprecated : use THREE.MathUtils.clamp

isPowerOfTwo () Deprecated : Use THREE.MathUtils.isPowerOfTwo

loop (value, max)number

Ensure a value is within 0 and max

Name Type Description
value number
max number
Returns:
Type Description
number

positionIsOrdered (value)boolean

Checks if an array of two positions is ordered (y axis then x axis)

Name Type Description
value Array.<string>
Returns:
Type Description
boolean