This commit is contained in:
Terence 2021-01-28 19:29:12 -05:00
parent ac92e68486
commit 8c52e4dfdc
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,9 @@
#![cfg(feature = "arbitrary")] #![cfg(feature = "arbitrary")]
#![allow(non_snake_case)] #![allow(non_snake_case)]
use na::{DualQuaternion, Isometry3, Point3, Translation3, UnitDualQuaternion, UnitQuaternion, Vector3}; use na::{
DualQuaternion, Isometry3, Point3, Translation3, UnitDualQuaternion, UnitQuaternion, Vector3,
};
quickcheck!( quickcheck!(
fn isometry_equivalence(iso: Isometry3<f64>, p: Point3<f64>, v: Vector3<f64>) -> bool { fn isometry_equivalence(iso: Isometry3<f64>, p: Point3<f64>, v: Vector3<f64>) -> bool {
@ -22,6 +24,7 @@ quickcheck!(
&& relative_eq!((ii * i) * v, v, epsilon = 1.0e-7) && relative_eq!((ii * i) * v, v, epsilon = 1.0e-7)
} }
#[cfg_attr(rustfmt, rustfmt_skip)]
fn multiply_equals_alga_transform( fn multiply_equals_alga_transform(
dq: UnitDualQuaternion<f64>, dq: UnitDualQuaternion<f64>,
v: Vector3<f64>, v: Vector3<f64>,