min method

Vector3 min(
  1. Vector3 v
)

Compares each vector component of this 3D vector and the given one and stores the minimum value in this instance.

Implementation

Vector3 min(Vector3 v ) {
	x = math.min( x, v.x );
	y = math.min( y, v.y );
	z = math.min( z, v.z );

	return this;
}