Expand description
A simple and type agnostic dual-quaternion math library designed for reexporting
Functions§
- add
- Adds two dual-quaternions
- conj
- Returns the dual-quaternion conjugate
- dot
- Dot product of two dual-quaternions
- from_
rotation_ and_ translation - Construct a dual-quaternion from separate rotation and translation components
- get_
rotation - Extracts rotation component from a dual-quaternion
- get_
translation - Extracts translation component from a dual-quaternion
- id
- Constructs identity dual-quaternion, representing no rotation or translation.
- mul
- Multiplies two dual-quaternions
- normalize
- Normalizes a dual-quaternion
- scale
- Scales a dual-quaternion (element-wise) by a scalar
Type Aliases§
- Dual
Quaternion - A dual-quaternion consists of a real component and a dual component, and can be used to represent both rotation and translation