Function fromValues

  • Creates a Quat; may be called with x, y, z to set initial values. (same as create)

    Parameters

    • Optional x: number

      Initial x value.

    • Optional y: number

      Initial y value.

    • Optional z: number

      Initial z value.

    • Optional w: number

    Returns Quat

    the created vector