Expand description
Deterministic authoring mathematics and interpolation.
Functionsยง
- atan2
- Arctangent of y/x (f64)
- clamp01
- Restricts progress to [0, 1], preserving NaN.
- cos
- The cosine of
x(f64). - cosf
- Single-precision variants for pixel-level texture generation.
The cosine of
x(f32). - exp
- Exponential, base e (f64)
- expf
- Single-precision variants for pixel-level texture generation. Exponential, base e (f32)
- hypot
- hypotf
- Single-precision variants for pixel-level texture generation.
- lerp
- Blends values with their established interpolation policy, including overshoot.
- pow
- Returns
xto the power ofy(f64). - sin
- The sine of
x(f64). - sinf
- Single-precision variants for pixel-level texture generation.
The sine of
x(f32). - smoothstep
- Cubic Hermite progress; equal edges produce a hard step, and NaN is preserved.
- sqrt
- The square root of
x(f64). - sqrtf
- Single-precision variants for pixel-level texture generation.
The square root of
x(f32). - tan
- The tangent of
x(f64).