copy method

Vector3 copy(
  1. Vector3 v
)

Copies all values from the given 3D vector to this 3D vector.

Implementation

Vector3 copy(Vector3 v ) {
	x = v.x;
	y = v.y;
	z = v.z;

	return this;
}