warp.quat_identity#

warp.quat_identity(dtype: Float = ...) → quatf#
  • Kernel: true
  • Python: true
  • Differentiable: false

Construct the identity quaternion.

Parameters:

dtype – Scalar type of the components. Defaults to float32.

Returns:

The quaternion (0, 0, 0, 1).