subScalar method

Vector3 subScalar(
  1. double s
)

Subtracts the given scalar from this 3D vector.

Implementation

Vector3 subScalar(double s ) {
	x -= s;
	y -= s;
	z -= s;

	return this;
}