addScaledVector method

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

Implementation

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

  return this;
}