#[repr(C)]
pub struct Quat<T: Scalar> {
pub x: T,
pub y: T,
pub z: T,
pub w: T,
}
pub fn new(x: T, y: T, z: T, w: T) -> Self
[src]pub fn dot(l: &Self, r: &Self) -> T
[src]pub fn add(l: &Self, r: &Self) -> Self
[src]pub fn sub(l: &Self, r: &Self) -> Self
[src]pub fn mul(l: &Self, r: &Self) -> Self
[src]
The resulting type after applying the +
operator.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the /
operator.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
The resulting type after applying the -
operator.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.