Skip to main content

sign

Function sign 

Source
pub fn sign(a: Vec3) -> Vec3
Expand description

Component-wise -1 or 1 (1 if zero).