Home
Giro3D framework
Piero application
Getting started with Giro3D
Giro3D examples
API documentation
Version v0.39.0
GitLab
Giro3D API (v0.39.0)
external
three
MathUtils
MathUtils
Variable MathUtils
Const
Math
Utils
:
{
DEG2RAD
:
typeof
DEG2RAD
;
RAD2DEG
:
typeof
RAD2DEG
;
ceilPowerOfTwo
:
typeof
ceilPowerOfTwo
;
clamp
:
typeof
clamp
;
damp
:
typeof
damp
;
degToRad
:
typeof
degToRad
;
denormalize
:
typeof
denormalize
;
euclideanModulo
:
typeof
euclideanModulo
;
floorPowerOfTwo
:
typeof
floorPowerOfTwo
;
generateUUID
:
typeof
generateUUID
;
inverseLerp
:
typeof
inverseLerp
;
isPowerOfTwo
:
typeof
isPowerOfTwo
;
lerp
:
typeof
lerp
;
mapLinear
:
typeof
mapLinear
;
normalize
:
typeof
normalize
;
pingpong
:
typeof
pingpong
;
radToDeg
:
typeof
radToDeg
;
randFloat
:
typeof
randFloat
;
randFloatSpread
:
typeof
randFloatSpread
;
randInt
:
typeof
randInt
;
seededRandom
:
typeof
seededRandom
;
setQuaternionFromProperEuler
:
typeof
setQuaternionFromProperEuler
;
smootherstep
:
typeof
smootherstep
;
smoothstep
:
typeof
smoothstep
;
}
Type declaration
DEG2RAD
:
typeof
DEG2RAD
RAD2DEG
:
typeof
RAD2DEG
ceil
Power
Of
Two
:
typeof
ceilPowerOfTwo
clamp
:
typeof
clamp
damp
:
typeof
damp
deg
To
Rad
:
typeof
degToRad
denormalize
:
typeof
denormalize
euclidean
Modulo
:
typeof
euclideanModulo
floor
Power
Of
Two
:
typeof
floorPowerOfTwo
generateUUID
:
typeof
generateUUID
inverse
Lerp
:
typeof
inverseLerp
is
Power
Of
Two
:
typeof
isPowerOfTwo
lerp
:
typeof
lerp
map
Linear
:
typeof
mapLinear
normalize
:
typeof
normalize
pingpong
:
typeof
pingpong
rad
To
Deg
:
typeof
radToDeg
rand
Float
:
typeof
randFloat
rand
Float
Spread
:
typeof
randFloatSpread
rand
Int
:
typeof
randInt
seeded
Random
:
typeof
seededRandom
set
Quaternion
From
Proper
Euler
:
typeof
setQuaternionFromProperEuler
smootherstep
:
typeof
smootherstep
smoothstep
:
typeof
smoothstep
Settings
Member Visibility
Protected
Inherited
External
Giro3D API (v0.39.0)
Loading...