Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "quat-axis-angle"

Index

Functions

Const quatFromAxisAngle

  • quatFromAxisAngle(axis: ReadonlyVec, theta: number): Vec
  • Computes a quaternion representing the rotation theta around axis.

    Parameters

    • axis: ReadonlyVec
    • theta: number

    Returns Vec

Const quatToAxisAngle

  • quatToAxisAngle(quat: ReadonlyVec): (number | number[])[]
  • Decomposes quaternion into [axis, theta] tuple.

    Parameters

    • quat: ReadonlyVec

    Returns (number | number[])[]

Generated using TypeDoc