Maths · function
clamp
Explained in Coordinates and units.
function clamp(value: number, min: number, max: number): numberimport { clamp } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
value | number | |
min | number | |
max | number |
Maths · function
Explained in Coordinates and units.
function clamp(value: number, min: number, max: number): numberimport { clamp } from '@driftengine/core';| Parameter | Type | Description |
|---|---|---|
value | number | |
min | number | |
max | number |