rlmesh::adapters::Rotation
A literal rotation, authored as a model state part's post_rotate.
struct RotationFields
Associated functions
encoding
field[source]encoding: RotationEncodingRotation encoding value is written in.
value
field[source]value: Vec<f64>The rotation’s components in that encoding.
new
associated function[source]fn new(encoding: RotationEncoding, value: impl Into<Vec<f64>>) -> SelfConstruct a rotation from components in the given encoding.
from_matrix
associated function[source]fn from_matrix(rows: [[f64; 3]; 3]) -> SelfUse a matrix’s first two columns as a rot6d literal.
Trait implementations
- impl Display for Rotation
- impl Clone for Rotation
- impl Debug for Rotation
- impl StructuralPartialEq for Rotation
- impl PartialEq for Rotation
- impl Serialize for Rotation
- impl<'de> Deserialize<'de> for Rotation