[][src]Struct geomath::matrix::Matrix4

pub struct Matrix4 {
    pub xx: f64,
    pub xy: f64,
    pub xz: f64,
    pub xw: f64,
    pub yx: f64,
    pub yy: f64,
    pub yz: f64,
    pub yw: f64,
    pub zx: f64,
    pub zy: f64,
    pub zz: f64,
    pub zw: f64,
    pub wx: f64,
    pub wy: f64,
    pub wz: f64,
    pub ww: f64,
}

4x4 matrix

Fields

xx: f64xy: f64xz: f64xw: f64yx: f64yy: f64yz: f64yw: f64zx: f64zy: f64zz: f64zw: f64wx: f64wy: f64wz: f64ww: f64

Methods

impl Matrix4[src]

pub const fn new(
    xx: f64,
    xy: f64,
    xz: f64,
    xw: f64,
    yx: f64,
    yy: f64,
    yz: f64,
    yw: f64,
    zx: f64,
    zy: f64,
    zz: f64,
    zw: f64,
    wx: f64,
    wy: f64,
    wz: f64,
    ww: f64
) -> Self
[src]

Trait Implementations

impl Add<Matrix4> for Matrix4[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<Matrix4> for Matrix4[src]

impl Algebra<Matrix4> for Matrix4[src]

impl BitOr<Matrix4> for Matrix4[src]

type Output = f64

The resulting type after applying the | operator.

impl Clone for Matrix4[src]

impl Copy for Matrix4[src]

impl Debug for Matrix4[src]

impl Div<f64> for Matrix4[src]

type Output = Self

The resulting type after applying the / operator.

impl DivAssign<f64> for Matrix4[src]

impl From<f64> for Matrix4[src]

impl Initializer for Matrix4[src]

impl Interpolation for Matrix4[src]

impl Metric for Matrix4[src]

impl Mul<Matrix4> for Matrix4[src]

type Output = Matrix4

The resulting type after applying the * operator.

impl Mul<Vector3> for Matrix4[src]

type Output = Vector3

The resulting type after applying the * operator.

impl Mul<Vector4> for Matrix4[src]

type Output = Vector4

The resulting type after applying the * operator.

impl Mul<f64> for Matrix4[src]

type Output = Self

The resulting type after applying the * operator.

impl MulAssign<Matrix4> for Vector4[src]

impl MulAssign<Matrix4> for Vector3[src]

impl MulAssign<Matrix4> for Matrix4[src]

impl MulAssign<f64> for Matrix4[src]

impl Neg for Matrix4[src]

type Output = Self

The resulting type after applying the - operator.

impl Not for Matrix4[src]

type Output = f64

The resulting type after applying the ! operator.

impl PartialEq<Matrix4> for Matrix4[src]

impl Rem<Matrix4> for Matrix4[src]

type Output = f64

The resulting type after applying the % operator.

impl Reset<Matrix4> for Matrix4[src]

impl Rigid<Matrix3, Vector3> for Matrix4[src]

impl Rows<[Vector4; 4]> for Matrix4[src]

impl Similarity<Matrix3, Vector3> for Matrix4[src]

impl Sub<Matrix4> for Matrix4[src]

type Output = Self

The resulting type after applying the - operator.

impl SubAssign<Matrix4> for Matrix4[src]

impl Translation<Vector3> for Matrix4[src]

Auto Trait Implementations

impl RefUnwindSafe for Matrix4

impl Send for Matrix4

impl Sync for Matrix4

impl Unpin for Matrix4

impl UnwindSafe for Matrix4

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.