pub type Rot2A<T> = Rotation2<T, Aligned>;Expand description
A 2D rotation represented by a normalized complex number.
Use vector * rotation to transform vectors.
§Fields
cos: TThe cosine of the angle.sin: TThe sine of the angle rotating+Xto+Y.
Fields are exposed by implementing Deref and DerefMut.
§SIMD alignment
Currently, Rot2A<T> does not have SIMD alignment for any T type. The
representation is always [T; 2]. This could be changed in a future
version, so do not rely on it.
Aliased Type§
pub struct Rot2A<T>(/* private fields */);