Type Alias Vec3f

Source
pub type Vec3f = Vector3<f32>;

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl Vec3f

Source

pub const ZERO: Vec3f

Source

pub const UNIT_X: Vec3f

Source

pub const UNIT_Y: Vec3f

Source

pub const UNIT_Z: Vec3f

Source

pub const ONE: Vec3f

Source

pub fn length(&self) -> f32

Trait Implementations§

Source§

impl From<Vector3<i32>> for Vec3f

Source§

fn from(value: Vec3) -> Self

Converts to this type from the input type.
Source§

impl Eq for Vec3f