aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authordhewg2011-03-19 11:24:06 +0100
committerdhewg2011-03-19 11:24:06 +0100
commit2def212de75b3885738c4db188f0a42b712bd48f (patch)
tree03657dca73b120b0e80c73346dac1e47ec543d6a /backends
parenta4c05b1632940b3f2003055e0c64970b4b053f32 (diff)
downloadscummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.tar.gz
scummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.tar.bz2
scummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.zip
ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ps2/Gs2dScreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp
index f869779573..a460b919fd 100644
--- a/backends/platform/ps2/Gs2dScreen.cpp
+++ b/backends/platform/ps2/Gs2dScreen.cpp
@@ -680,7 +680,7 @@ void Gs2dScreen::animThread(void) {
{ SCALE(1), SCALE(1) }, { SCALE(1), SCALE(14) },
{ SCALE(128), SCALE(1) }, { SCALE(128), SCALE(14) }
};
- float angleStep = ((2 * PI) / _tvHeight);
+ float angleStep = ((2 * M_PI) / _tvHeight);
while (!_systemQuit) {
do {
@@ -739,7 +739,7 @@ void Gs2dScreen::animThread(void) {
float z[4];
GsVertex nodes[4];
- float angle = PI / 2 + angleStep * drawY;
+ float angle = M_PI / 2 + angleStep * drawY;
float rotSin = sinf(angle);
float rotCos = cosf(angle);
for (int coord = 0; coord < 4; coord++) {