Physics2D/RigidBody2D: AddTorque now takes a RadianAnglesf instead of a float

This commit is contained in:
Lynix
2018-10-11 00:08:26 +02:00
parent d2b1d51ecb
commit 3933d5007d
5 changed files with 6 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ SCENARIO("RigidBody2D", "[PHYSICS2D][RIGIDBODY2D]")
WHEN("We apply a torque")
{
body.AddTorque(Nz::DegreeToRadian(90.f));
body.AddTorque(Nz::DegreeAnglef(90.f));
world.Step(1.f);
THEN("It is also counter-clockwise")