Daniel 5 vuotta sitten
vanhempi
commit
94e0158b53
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      pong.cpp

+ 1
- 1
pong.cpp Näytä tiedosto

36
     srand(static_cast<unsigned int>(time(NULL)));
36
     srand(static_cast<unsigned int>(time(NULL)));
37
 
37
 
38
     // Define some constants
38
     // Define some constants
39
-    const float pi = 3.14159;
39
+    const float pi = 3.1415;
40
     const int gameWidth = 800;
40
     const int gameWidth = 800;
41
     const int gameHeight = 600;
41
     const int gameHeight = 600;
42
     
42