Type Alias micromath::vector::F32x3

source ·
pub type F32x3 = Vector3d<f32>;
Available on crate feature vector only.
Expand description

3-dimensional XYZ vector of f32 values

Aliased Type§

struct F32x3 {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}

Fields§

§x: f32

X component

§y: f32

Y component

§z: f32

Z component

Trait Implementations§

source§

impl From<Vector3d<F32>> for F32x3

source§

fn from(vector: Vector3d<F32>) -> F32x3

Converts to this type from the input type.
source§

impl From<Vector3d<i16>> for F32x3

source§

fn from(vector: I16x3) -> F32x3

Converts to this type from the input type.
source§

impl From<Vector3d<i8>> for F32x3

source§

fn from(vector: I8x3) -> F32x3

Converts to this type from the input type.
source§

impl From<Vector3d<u16>> for F32x3

source§

fn from(vector: U16x3) -> F32x3

Converts to this type from the input type.
source§

impl From<Vector3d<u8>> for F32x3

source§

fn from(vector: U8x3) -> F32x3

Converts to this type from the input type.