Type Alias script::dom::xrsession::BaseTransform
source · pub type BaseTransform = RigidTransform3D<f32, Native, BaseSpace>;
Aliased Type§
struct BaseTransform {
pub rotation: Rotation3D<f32, Native, BaseSpace>,
pub translation: Vector3D<f32, BaseSpace>,
}
Fields§
§rotation: Rotation3D<f32, Native, BaseSpace>
§translation: Vector3D<f32, BaseSpace>
Trait Implementations§
source§impl<T, Src, Dst> PartialEq<RigidTransform3D<T, Src, Dst>> for RigidTransform3D<T, Src, Dst>where
T: PartialEq<T>,
Src: PartialEq<Src>,
Dst: PartialEq<Dst>,
impl<T, Src, Dst> PartialEq<RigidTransform3D<T, Src, Dst>> for RigidTransform3D<T, Src, Dst>where T: PartialEq<T>, Src: PartialEq<Src>, Dst: PartialEq<Dst>,
source§fn eq(&self, other: &RigidTransform3D<T, Src, Dst>) -> bool
fn eq(&self, other: &RigidTransform3D<T, Src, Dst>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.