transform method

  1. @override
Vector2 transform(
  1. Vector2 velocity,
  2. double mass,
  3. double dt
)
override

Implementation

@override
Vector2 transform(Vector2 velocity, double mass, double dt) {
  return velocity + (value * mass * dt);
}