divideScalar method

Vector3 divideScalar(
  1. double s
)

Divides the given scalar through this 3D vector.

Implementation

Vector3 divideScalar(double s ) {
	x /= s;
	y /= s;
	z /= s;

	return this;
}