Skip to content

textmode.js / TextmodeVector / limit

Method: limit()

ts
limit(max): this;

Limit this vector's magnitude.

Parameters

ParameterTypeDescription
maxnumberMaximum magnitude.

Returns

this

This vector.

Example