Function nalgebra_glm::step_scalar [−][src]
pub fn step_scalar<N: Number>(edge: N, x: N) -> N
Returns 0.0 if x < edge
, otherwise it returns 1.0.
pub fn step_scalar<N: Number>(edge: N, x: N) -> N
Returns 0.0 if x < edge
, otherwise it returns 1.0.