[−][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]
impl<T> Vec3<T>
[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.