Function clone

  • Copies a vector. (same as vec3.clone) Also see vec3.create and vec3.set

    Type Parameters

    Parameters

    • v: BaseArgType

      The vector.

    • Optional dst: T

      vector to hold result. If not passed in a new one is created.

    Returns T

    A copy of v.