Trait avian3d::math::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 f64

source§

impl AdjustPrecision for Mat3

source§

impl AdjustPrecision for Quat

source§

impl AdjustPrecision for Vec2

source§

impl AdjustPrecision for Vec3

source§

impl AdjustPrecision for DMat3

source§

impl AdjustPrecision for DQuat

source§

impl AdjustPrecision for DVec2

source§

impl AdjustPrecision for DVec3

Implementors§