Interface Rotator<T>
- Type Parameters:
T
- The class on which this rotator acts.
- All Known Implementing Classes:
DisplayRotator
,NonMutatingQuaternionRotator
,NonMutatingVectorRotator
,QuaternionRotator
,VectorRotator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface to support uniform rotation semantics between various types.
A rotator rotates objects around a specific
Rotator.Axis
by a specific angle in radians.- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Represents an axis around which to rotate. -
Method Summary
-
Method Details
-
rotate
Rotates the input around the rotator's axis by the rotator's angle. May modify the input.
-