Function copy

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

    Parameters

    • v: Vec3

      The vector.

    • Optional dst: Vec3

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

    Returns Vec3

    A copy of v.