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