Trait avian3d::math::AsF32

source ·
pub trait AsF32 {
    type F32;

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

Adjust the precision down to f32 regardless of compilation.

Required Associated Types§

source

type F32

The f32 version of a math construct.

Required Methods§

source

fn f32(&self) -> Self::F32

Returns the f32 version of this type.

Implementations on Foreign Types§

source§

impl AsF32 for Quat

§

type F32 = Quat

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for Vec4

§

type F32 = Vec4

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for Vec2

§

type F32 = Vec2

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for Vec3

§

type F32 = Vec3

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for DQuat

§

type F32 = Quat

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for DVec2

§

type F32 = Vec2

source§

fn f32(&self) -> Self::F32

source§

impl AsF32 for DVec3

§

type F32 = Vec3

source§

fn f32(&self) -> Self::F32

Implementors§