Skip to content
On this page

Math ​

一个提供基础数学函数及常量的内部对象。

Methods ​

clamp ​

ts
clamp: (value: number, min: number, max: number) => number

square ​

ts
square: (value: number) => number