Quaternion.unitized
- Quaternion.unitized()[source]
Returns a quaternion with a unit-length.
- Returns:
Examples
>>> q = Quaternion(1.0, 1.0, 1.0, 1.0) >>> q.is_unit False >>> p = q.unitized() >>> p.is_unit True
Site Navigation
Returns a quaternion with a unit-length.
Examples
>>> q = Quaternion(1.0, 1.0, 1.0, 1.0)
>>> q.is_unit
False
>>> p = q.unitized()
>>> p.is_unit
True