armos.math.map

Members

Functions

clamp
T clamp(in T v, in T min, in T max)

指定した範囲内に収まる値を返します.

map
T map(in T v1, in T v1_min, in T v1_max, in T v2_min, in T v2_max, bool isClamp = true)

Meta