pub type Matrix4<F> = [[F; 4]; 4];Expand description
Matrix4
Trait Implementations§
Source§impl<F: Float + Debug> TM4<F> for Matrix4<F>
TM4 for Matrix4
impl<F: Float + Debug> TM4<F> for Matrix4<F>
TM4 for Matrix4
Source§fn from_q_left(q: &impl TQuaternion<F>) -> Self
fn from_q_left(q: &impl TQuaternion<F>) -> Self
from Quaternion (qp = Q4x4 p4)
Source§fn from_p_right(p: &impl TQuaternion<F>) -> Self
fn from_p_right(p: &impl TQuaternion<F>) -> Self
from Quaternion (qp = P4x4 q4)
Source§fn from_rot(q: &impl TQuaternion<F>) -> Self
fn from_rot(q: &impl TQuaternion<F>) -> Self
from Quaternion rot (qrp = P4x4 Q4x4 r4)
Source§impl<F: Float + Debug + Sum> TMatrix<F> for Matrix4<F>
TMatrix for Matrix4
impl<F: Float + Debug + Sum> TMatrix<F> for Matrix4<F>
TMatrix for Matrix4
Source§fn colmajor4(m: Vec<Vector4<F>>) -> Selfwhere
Self: Sized,
fn colmajor4(m: Vec<Vector4<F>>) -> Selfwhere
Self: Sized,
constructor col major from v4 (move)
Source§fn rowmajor4(m: Vec<Vector4<F>>) -> Selfwhere
Self: Sized,
fn rowmajor4(m: Vec<Vector4<F>>) -> Selfwhere
Self: Sized,
constructor row major from v4 (move)
Source§fn colmajor3(_m: Vec<Vector3<F>>) -> Selfwhere
Self: Sized,
fn colmajor3(_m: Vec<Vector3<F>>) -> Selfwhere
Self: Sized,
constructor col major from v3 (move)