copy method

Vec3 copy(
  1. Vec3 v
)

Copy V to this vector

Implementation

Vec3 copy(Vec3 v ){
  x = v.x;
  y = v.y;
  z = v.z;
  return this;
}