diff options
Diffstat (limited to 'Client/Source/Phy2DLite/Tests/test_p2d.cpp')
-rw-r--r-- | Client/Source/Phy2DLite/Tests/test_p2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Client/Source/Phy2DLite/Tests/test_p2d.cpp b/Client/Source/Phy2DLite/Tests/test_p2d.cpp index a668301..69737f6 100644 --- a/Client/Source/Phy2DLite/Tests/test_p2d.cpp +++ b/Client/Source/Phy2DLite/Tests/test_p2d.cpp @@ -292,7 +292,7 @@ static void Demo7(Body* b, Joint* j) float dampingRatio = 0.7f; // frequency in radians - float omega = (number)2.0f * fix16_pi * frequencyHz; + float omega = (number)2.0f * PI * frequencyHz; // damping coefficient float d = 2.0f * mass * dampingRatio * omega; @@ -418,7 +418,7 @@ static void Demo9(Body* b, Joint* j) float dampingRatio = 0.7f; // frequency in radians - float omega = (number) 2.0f * fix16_pi * frequencyHz; + float omega = (number) 2.0f * PI * frequencyHz; // damping coefficient float d = 2.0f * mass * dampingRatio * omega; |