Vector3

Type Alias Vector3 

Source
pub type Vector3 = Vec3;
Expand description

A 3D vector type for use in any dimension context.

Aliased Type§

#[repr(C)]
pub struct Vector3 { pub x: f32, pub y: f32, pub z: f32, }

Fields§

§x: f32§y: f32§z: f32

Trait Implementations§

Source§

impl AsBytes for Vector3

Source§

fn as_bytes(&self) -> &[u8]

Converts self to a slice of bytes.