pub trait AdjustPrecision {
    type Adjusted;

    // Required method
    fn adjust_precision(&self) -> Self::Adjusted;
}
Expand description

Adjust the precision of the math construct to the precision chosen for compilation.

Required Associated Types§

source

type Adjusted

A math construct type with the desired precision.

Required Methods§

source

fn adjust_precision(&self) -> Self::Adjusted

Adjusts the precision of self to Self::Adjusted.

Implementations on Foreign Types§

source§

impl AdjustPrecision for f32

source§

impl AdjustPrecision for Quat

source§

impl AdjustPrecision for Vec2

source§

impl AdjustPrecision for Vec3

Implementors§