aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authormd52011-03-19 02:32:53 +0200
committermd52011-03-19 02:32:53 +0200
commit8af0d35a5ff17e8e4f52401a0758cf6f04e0e17a (patch)
treee0a50a353e21e6f5eea68457a1c7d33a01b60fff /engines
parentbe3ca5216881ae01a9a3db7794fb7c685b29fd65 (diff)
downloadscummvm-rg350-8af0d35a5ff17e8e4f52401a0758cf6f04e0e17a.tar.gz
scummvm-rg350-8af0d35a5ff17e8e4f52401a0758cf6f04e0e17a.tar.bz2
scummvm-rg350-8af0d35a5ff17e8e4f52401a0758cf6f04e0e17a.zip
TESTBED: Changed usage of PI to M_PI (normally defined in math.h)
Diffstat (limited to 'engines')
-rw-r--r--engines/testbed/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp
index 3cdff5f432..588aad8248 100644
--- a/engines/testbed/graphics.cpp
+++ b/engines/testbed/graphics.cpp
@@ -360,7 +360,7 @@ void GFXtests::drawEllipse(int cx, int cy, int a, int b) {
// Illuminate the points lying on ellipse
- for (theta = 0; theta <= PI / 2; theta += PI / 360) {
+ for (theta = 0; theta <= M_PI / 2; theta += M_PI / 360) {
x = (int)(b * sin(theta) + 0.5);
y = (int)(a * cos(theta) + 0.5);