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 Vec3

    the created vector