[][src]Function nalgebra_glm::step

pub fn step<N: Number, D: Dimension>(edge: N, x: &TVec<N, D>) -> TVec<N, D> where
    DefaultAllocator: Alloc<N, D>, 

Returns 0.0 if x[i] < edge, otherwise it returns 1.0.