Merge plus changed getposition to return a reference

This commit is contained in:
KimLS
2015-01-24 11:48:06 -08:00
19 changed files with 2173 additions and 2213 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ public:
char* GetDoorName() { return door_name; }
uint32 GetDoorParam() { return door_param; }
int GetInvertState() { return invert_state; }
const glm::vec4 GetPosition() const{ return m_Position; }
const glm::vec4& GetPosition() const{ return m_Position; }
int GetIncline() { return incline; }
bool triggered;
void SetOpenState(bool st) { isopen = st; }