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