bevy_tnua::math

Trait AdjustPrecision

Source
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§