Function rs_pbrt::core::pbrt::clamp_t

source ·
pub fn clamp_t<T>(val: T, low: T, high: T) -> Twhere
    T: PartialOrd,
Expand description

Clamp the given value val to lie between the values low and high.