Function fromValues

  • Creates a vec3; 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.

    Returns Vec3

    the created vector