[][src]Type Definition quick_maths::vec::Vec3

type Vec3<T = DefaultFloat> = Vector<3, T>;

3D vector with default float type (f32).

Implementations

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

pub fn to_quat(&self) -> Quat<T>[src]

pub fn apply_quat(&self, q: &Quat<T>) -> Self[src]

impl<T> Vec3<T>[src]

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

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

pub fn cross(&self, o: &Self) -> Self[src]

Takes the cross product of self with other

pub fn sided(&self, o: &Self, normal: &Self) -> bool[src]

Whether or not self is aligned on the right or left hand side of normal w.r.t o.

pub fn homogeneous(&self) -> Vec4<T>[src]

Returns the homogeneous form of this vector.

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