projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
massive cleaning of file section headers
[physics.git]
/
src
/
mathw.cpp
diff --git
a/src/mathw.cpp
b/src/mathw.cpp
index
430a601
..
349f899
100644
(file)
--- a/
src/mathw.cpp
+++ b/
src/mathw.cpp
@@
-1,11
+1,6
@@
#include "mathw.h"
-/// ***** Private Varibles *****
-
-const float PI = 3.141592653;
-
-
/// ***** Public Methods *****
int mod(int x, int y)
@@
-13,7
+8,7
@@
int mod(int x, int y)
return x % y + (x < 0 ? y : 0);
}
-//
/
Vector2 Math
+// Vector2 Math
Vector2 perp(const Vector2& vec)
{