Skip to main content

abs

Function abs 

Source
pub fn abs<T: Signed>(x: T) -> T
Expand description

Absolute value. Maps to abs(x) in WGSL.