multiplyVectors method

Vector3 multiplyVectors(
  1. Vector3 a,
  2. Vector3 b
)

Multiplies two given 3D vectors and stores the result in this 3D vector.

Implementation

Vector3 multiplyVectors(Vector3 a, Vector3 b ) {
	x = a.x * b.x;
	y = a.y * b.y;
	z = a.z * b.z;

	return this;
}