| 3 | #include "Math.h" |
| 4 | |
| 5 | RealVector2D Physics::tangentialVelocity(RealVector2D const& positionFromCenter, RealVector2D const& vel, double angularVel) |
| 6 | { |
| 7 | return vel - Math::rotateQuarterCounterClockwise(positionFromCenter) * toFloat(angularVel * Const::DegToRad); |
| 8 | } |