pub trait IsometryOpt {
// Required methods
fn inv_mul(self, rhs: &Isometry<f32>) -> Isometry<f32>;
fn prepend_to(self, rhs: &Isometry<f32>) -> Isometry<f32>;
fn transform_point(self, p: &Point<f32>) -> Point<f32>;
fn transform_vector(self, v: &Vector<f32>) -> Vector<f32>;
fn transform_unit_vector(self, v: &Unit<Vector<f32>>) -> Unit<Vector<f32>>;
fn inverse_transform_point(self, p: &Point<f32>) -> Point<f32>;
fn inverse_transform_vector(self, v: &Vector<f32>) -> Vector<f32>;
fn inverse_transform_unit_vector(
self,
v: &Unit<Vector<f32>>,
) -> Unit<Vector<f32>>;
}
Expand description
Various operations usable with Option<Isometry>
and Option<&Isometry>
where None
is assumed to be equivalent to the identity.