[−][src]Struct geomath::matrix::Matrix4
4x4 matrix
Fields
xx: f64xy: f64xz: f64xw: f64yx: f64yy: f64yz: f64yw: f64zx: f64zy: f64zz: f64zw: f64wx: f64wy: f64wz: f64ww: f64Methods
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]
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
Trait Implementations
impl Add<Matrix4> for Matrix4[src]
type Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: Self) -> Self::Output[src]
impl AddAssign<Matrix4> for Matrix4[src]
fn add_assign(&mut self, rhs: Matrix4)[src]
impl Algebra<Matrix4> for Matrix4[src]
fn determinant(&self) -> f64[src]
fn set_inverse(&mut self) -> &mut Self[src]
fn set_transposed(&mut self) -> &mut Self[src]
fn set_adjugate(&mut self) -> &mut Self[src]
fn inverse(&self) -> Self[src]
fn transposed(&self) -> Self[src]
fn adjugate(&self) -> Self[src]
impl BitOr<Matrix4> for Matrix4[src]
type Output = f64
The resulting type after applying the | operator.
fn bitor(self, rhs: Matrix4) -> Self::Output[src]
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.
fn div(self, rhs: f64) -> Self::Output[src]
impl DivAssign<f64> for Matrix4[src]
fn div_assign(&mut self, rhs: f64)[src]
impl From<f64> for Matrix4[src]
impl Initializer for Matrix4[src]
impl Interpolation for Matrix4[src]
fn set_lerp(&mut self, other: &Self, s: f64) -> &mut Self[src]
fn set_herp(
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self[src]
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
fn set_berp(
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self[src]
&mut self,
other: &Self,
other1: &Self,
other2: &Self,
s: f64
) -> &mut Self
fn lerp(&self, other: &Self, s: f64) -> Self where
Self: Copy + Clone, [src]
Self: Copy + Clone,
fn herp(&mut self, other: &Self, other1: &Self, other2: &Self, s: f64) -> Self where
Self: Copy + Clone, [src]
Self: Copy + Clone,
fn berp(&mut self, other: &Self, other1: &Self, other2: &Self, s: f64) -> Self where
Self: Copy + Clone, [src]
Self: Copy + Clone,
impl Metric for Matrix4[src]
fn dot(&self, rhs: &Self) -> f64[src]
fn magnitude2(&self) -> f64[src]
fn magnitude(&self) -> f64[src]
fn distance2(&self, rhs: &Self) -> f64[src]
fn distance(&self, rhs: &Self) -> f64[src]
fn set_normalized(&mut self) -> &mut Self[src]
fn normalized(&self) -> Self[src]
impl Mul<Matrix4> for Matrix4[src]
type Output = Matrix4
The resulting type after applying the * operator.
fn mul(self, rhs: Matrix4) -> Self::Output[src]
impl Mul<Vector3> for Matrix4[src]
type Output = Vector3
The resulting type after applying the * operator.
fn mul(self, rhs: Vector3) -> Self::Output[src]
impl Mul<Vector4> for Matrix4[src]
type Output = Vector4
The resulting type after applying the * operator.
fn mul(self, rhs: Vector4) -> Self::Output[src]
impl Mul<f64> for Matrix4[src]
type Output = Self
The resulting type after applying the * operator.
fn mul(self, rhs: f64) -> Self::Output[src]
impl MulAssign<Matrix4> for Vector4[src]
fn mul_assign(&mut self, rhs: Matrix4)[src]
impl MulAssign<Matrix4> for Vector3[src]
fn mul_assign(&mut self, rhs: Matrix4)[src]
impl MulAssign<Matrix4> for Matrix4[src]
fn mul_assign(&mut self, rhs: Matrix4)[src]
impl MulAssign<f64> for Matrix4[src]
fn mul_assign(&mut self, rhs: f64)[src]
impl Neg for Matrix4[src]
type Output = Self
The resulting type after applying the - operator.
fn neg(self) -> Self::Output[src]
impl Not for Matrix4[src]
type Output = f64
The resulting type after applying the ! operator.
fn not(self) -> Self::Output[src]
impl PartialEq<Matrix4> for Matrix4[src]
impl Rem<Matrix4> for Matrix4[src]
type Output = f64
The resulting type after applying the % operator.
fn rem(self, rhs: Self) -> Self::Output[src]
impl Reset<Matrix4> for Matrix4[src]
fn reset0(&mut self) -> &mut Self[src]
fn reset1(&mut self) -> &mut Self[src]
fn reset(&mut self, val: &Matrix4) -> &mut Self[src]
impl Rigid<Matrix3, Vector3> for Matrix4[src]
fn set_rigid(&mut self, rotation: &Matrix3, vector: &Vector3) -> &mut Self[src]
fn from_rigid(rotation: &U, vector: &T) -> Self[src]
impl Rows<[Vector4; 4]> for Matrix4[src]
fn rows(&self) -> [Vector4; 4][src]
fn set_rows(&mut self, rows: &[Vector4; 4]) -> &mut Self[src]
fn from_rows(rows: &T) -> Self[src]
impl Similarity<Matrix3, Vector3> for Matrix4[src]
fn set_similarity(
&mut self,
scale: f64,
rotation: &Matrix3,
vector: &Vector3
) -> &mut Self[src]
&mut self,
scale: f64,
rotation: &Matrix3,
vector: &Vector3
) -> &mut Self
fn from_similarity(scale: f64, rotation: &U, vector: &T) -> Self[src]
impl Sub<Matrix4> for Matrix4[src]
type Output = Self
The resulting type after applying the - operator.
fn sub(self, rhs: Self) -> Self::Output[src]
impl SubAssign<Matrix4> for Matrix4[src]
fn sub_assign(&mut self, rhs: Matrix4)[src]
impl Translation<Vector3> for Matrix4[src]
fn set_translation(&mut self, vector: &Vector3) -> &mut Self[src]
fn from_translation(vector: &T) -> Self[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,