From 68a1a29db8641348937548fea1cb32dab2317a0c Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Sun, 13 Feb 2011 08:47:51 +0200 Subject: Reverted 1 Letter Refactoring or Edited it to a full name. --- src/game/collision.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/collision.h') diff --git a/src/game/collision.h b/src/game/collision.h index 3a0a490a..d16f2d56 100644 --- a/src/game/collision.h +++ b/src/game/collision.h @@ -25,9 +25,9 @@ public: CCollision(); void Init(class CLayers *pLayers); - bool CheckPoint(float X, float Y) { return IsTileSolid(round(X), round(Y)); } - bool CheckPoint(vec2 P) { return CheckPoint(P.x, P.y); } - int GetCollisionAt(float X, float Y) { return GetTile(round(X), round(Y)); } + bool CheckPoint(float x, float y) { return IsTileSolid(round(x), round(y)); } + bool CheckPoint(vec2 Pos) { return CheckPoint(Pos.x, Pos.y); } + int GetCollisionAt(float x, float y) { return GetTile(round(x), round(y)); } int GetWidth() { return m_Width; }; int GetHeight() { return m_Height; }; int IntersectLine(vec2 Pos0, vec2 Pos1, vec2 *pOutCollision, vec2 *pOutBeforeCollision); -- cgit 1.4.1