Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "mixq"

Index

Functions

Functions

Const mixQ

  • mixQ(out: Vec | null, a: ReadonlyVec, b: ReadonlyVec, t: number, eps?: number): Vec
  • Interpolates quaternion a to b by given amount t, using SLERP. Writes result to out. The optional eps (default 1e-3) is used to switch to linear interpolation if the angular difference is very small.

    Parameters

    • out: Vec | null
    • a: ReadonlyVec
    • b: ReadonlyVec
    • t: number
    • Default value eps: number = 0.001

    Returns Vec

Generated using TypeDoc