Type Definition rs_pbrt::core::pbrt::Float

source ·
pub type Float = f32;

Trait Implementations§

source§

impl Clampable for Float

source§

fn clamp(self, min: Float, max: Float) -> Float

source§

impl<'a> From<&'a AtomicFloat> for Float

source§

fn from(a: &'a AtomicFloat) -> Float

Converts to this type from the input type.
source§

impl Mul<RGBSpectrum> for Float

§

type Output = RGBSpectrum

The resulting type after applying the * operator.
source§

fn mul(self, rhs: RGBSpectrum) -> RGBSpectrum

Performs the * operation. Read more