[−][src]Type Definition skeletal_animation::math::DualQuaternion
type DualQuaternion<T> = ((T, [T; 3]), (T, [T; 3]));
A dual-quaternion consists of a real component and a dual component, and can be used to represent both rotation and translation
Trait Implementations
impl<'a> HasShaderSources<'a> for DualQuaternion<f32>
[src]
impl<'a> HasShaderSources<'a> for DualQuaternion<f32>
fn vertex_shader_source() -> &'a [u8] | [src] |
fn fragment_shader_source() -> &'a [u8] | [src] |
impl Transform for DualQuaternion<f32>
[src]
impl Transform for DualQuaternion<f32>
fn identity() -> DualQuaternion<f32> | [src] |
fn set_rotation(&mut self, rotation: Quaternion<f32>) | [src] |
fn get_rotation(self) -> Quaternion<f32> | [src] |
fn set_translation(&mut self, translation: Vector3<f32>) | [src] |
fn get_translation(self) -> Vector3<f32> | [src] |
fn concat(self, other: DualQuaternion<f32>) -> DualQuaternion<f32> | [src] |
fn inverse(self) -> DualQuaternion<f32> | [src] |
fn lerp(self, other: DualQuaternion<f32>, parameter: f32) -> DualQuaternion<f32> | [src] |
fn transform_vector(self, v: Vector3<f32>) -> Vector3<f32> | [src] |
fn to_matrix(self) -> Matrix4<f32> | [src] |
fn from_matrix(m: Matrix4<f32>) -> DualQuaternion<f32> | [src] |
impl FromTransform<((f32, [f32; 3]), (f32, [f32; 3]))> for DualQuaternion<f32>
[src]
impl FromTransform<((f32, [f32; 3]), (f32, [f32; 3]))> for DualQuaternion<f32>
fn from_transform(t: DualQuaternion<f32>) -> DualQuaternion<f32> | [src] |