multiplyScalar method

Vector3 multiplyScalar(
  1. double s
)

Multiplies the given scalar with this 3D vector.

Implementation

Vector3 multiplyScalar(double s ) {
	x *= s;
	y *= s;
	z *= s;

	return this;
}