[−][src]Function nalgebra_glm::step_scalar
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.