#[repr(C)]pub struct GCRotationRate {
pub x: c_double,
pub y: c_double,
pub z: c_double,
}
GCMotion
only.Expand description
A structure containing 3-axis rotation rate data.
Field: x X-axis rotation rate in radians/second. The sign follows the right hand rule (i.e. if the right hand is wrapped around the X axis such that the tip of the thumb points toward positive X, a positive rotation is one toward the tips of the other 4 fingers).
Field: y Y-axis rotation rate in radians/second. The sign follows the right hand rule (i.e. if the right hand is wrapped around the Y axis such that the tip of the thumb points toward positive Y, a positive rotation is one toward the tips of the other 4 fingers). Field: z Z-axis rotation rate in radians/second. The sign follows the right hand rule (i.e. if the right hand is wrapped around the Z axis such that the tip of the thumb points toward positive Z, a positive rotation is one toward the tips of the other 4 fingers).
See also Apple’s documentation
Fields§
§x: c_double
§y: c_double
§z: c_double
Trait Implementations§
Source§impl Clone for GCRotationRate
impl Clone for GCRotationRate
Source§fn clone(&self) -> GCRotationRate
fn clone(&self) -> GCRotationRate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more