Struct siege_math::position::Position [] [src]

pub struct Position<F> {
    pub point: Point3<F>,
    pub ori: NQuat<F>,

A position is a combination of a point and an orientation

Orientation is more than just a facing vector, it must also resolve which way is up, but does not need yet another vector for that. It turns out a (normalized) Quaterion fits the role perfectly.


Trait Implementations

Auto Trait Implementations

impl<F> Send for Position<F> where
    F: Send

impl<F> Sync for Position<F> where
    F: Sync