Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "rotation-around-axis"

Index

Functions

Const rotationAroundAxis33

  • rotationAroundAxis33(out: Mat, axis: ReadonlyVec, theta: number, normalize?: boolean): Vec
  • Constructs a M33 representing a rotation of theta around axis and writes result to out. If normalize is true (default false), non-destructively first normalizes axis vector.

    Parameters

    • out: Mat
    • axis: ReadonlyVec
    • theta: number
    • Default value normalize: boolean = false

    Returns Vec

Const rotationAroundAxis44

  • rotationAroundAxis44(out: Mat, axis: ReadonlyVec, theta: number, normalize?: boolean): Vec
  • Constructs a M44 representing a rotation of theta around axis and writes result to out. If normalize is true (default false), non-destructively first normalizes axis vector.

    Parameters

    • out: Mat
    • axis: ReadonlyVec
    • theta: number
    • Default value normalize: boolean = false

    Returns Vec

Generated using TypeDoc