Function create

  • Creates a vec3; may be called with x, y, z to set initial values.

    Parameters

    • Optional x: number

      Initial x value.

    • Optional y: number

      Initial y value.

    • Optional z: number

      Initial z value.

    Returns number[]

    the created vector