[][src]Type Definition quick_maths::Vec4

type Vec4<T = DefaultFloat> = Vector<4, T>;

4D vector with default float type (f32). Often implicitly created by Vec3::homogeneous.

Implementations

impl<T> Vec4<T>[src]

pub const fn new(a: T, b: T, c: T, w: T) -> Self[src]

impl<T: Float> Vec4<T>[src]

pub fn homogenize(&self) -> Vec3<T>[src]