Type Definition oyk::ode::dMatrix3

source ·
pub type dMatrix3 = [dReal; 12];

Trait Implementations§

source§

impl Matrix3 for dMatrix3

source§

fn as_ptr_mut(&mut self) -> *mut dReal

ptr mut of dMatrix3

source§

fn as_ptr(&self) -> *const dReal

ptr of dMatrix3 (use for converter)

source§

fn new() -> dMatrix3

construct as Identity
source§

fn from_Q(q: dQuaternion) -> dMatrix3

constructor (converter)
source§

fn to_Q(&self) -> dQuaternion

converter (like as dQuaternion::from_R(*self))
source§

fn from_axis_and_angle(axis: [dReal; 3], angle: dReal) -> dMatrix3

constructor
source§

fn from_euler_angles(phi: dReal, theta: dReal, psi: dReal) -> dMatrix3

constructor
source§

fn from_2_axes(e0: [dReal; 3], e1: [dReal; 3]) -> dMatrix3

constructor
source§

fn from_z_axis(e: [dReal; 3]) -> dMatrix3

constructor