ixfx
Preparing search index...
Geometry
Vectors
clampMagnitude
Function clampMagnitude
clampMagnitude
(
v
:
Vector
,
max
?:
number
,
min
?:
number
)
:
Geometry
.
Point
|
Coord
Clamps the magnitude of a vector
Parameters
v
:
Vector
Vector to clamp
max
:
number
= 1
Maximum magnitude
min
:
number
= 0
Minium magnitude
Returns
Geometry
.
Point
|
Coord
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Clamps the magnitude of a vector