addScaledVector method

Vector3 addScaledVector(
  1. Vector3 v,
  2. num s
)

Implementation

Vector3 addScaledVector(Vector3 v, num s) {
  x += v.x * s;
  y += v.y * s;
  z += v.z * s;

  return this;
}