Skip to main content

Vec3

Type Alias Vec3 

Source
pub type Vec3 = Vec3;

Aliased Type§

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

Fields§

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

Trait Implementations§

Source§

impl From<Color> for Vec3

Source§

fn from(c: Color) -> Self

Converts to this type from the input type.