Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "alignment-quat"

Index

Functions

Functions

Const alignmentQuat

  • alignmentQuat(from: ReadonlyVec, to: ReadonlyVec, normalize?: boolean): Vec
  • Returns quaternion describing the rotation from direction vector from -> to. If normalize is true (default), first normalizes the vectors (not modifying original).

    Parameters

    • from: ReadonlyVec
    • to: ReadonlyVec
    • Default value normalize: boolean = true

    Returns Vec

Generated using TypeDoc