multiplyVectors method

double multiplyVectors(
  1. Vec3 spatial,
  2. Vec3 rotational
)

Multiply with two vectors

Implementation

double multiplyVectors(Vec3 spatial, Vec3 rotational) {
  return spatial.dot(this.spatial) + rotational.dot(this.rotational);
}