Adding include guards to collision_set.h

Added include guards to collision_set.h per issue #228
This commit is contained in:
Levi 2014-01-10 23:22:39 -05:00
parent 28abc2120b
commit ac83a4f70c
2 changed files with 20 additions and 2 deletions

View file

@ -8,6 +8,13 @@
// A set of collision rules
// NOTE: Defaults to all indices disabled
#ifndef COLLISION_SET_H
#define COLLISION_SET_H
#ifdef _WIN32
#pragma once
#endif
class IPhysicsCollisionSet
{
public:
@ -17,4 +24,6 @@ public:
virtual void DisableCollisions( int index0, int index1 ) = 0;
virtual bool ShouldCollide( int index0, int index1 ) = 0;
};
};
#endif // COLLISION_SET_H

View file

@ -8,6 +8,13 @@
// A set of collision rules
// NOTE: Defaults to all indices disabled
#ifndef COLLISION_SET_H
#define COLLISION_SET_H
#ifdef _WIN32
#pragma once
#endif
class IPhysicsCollisionSet
{
public:
@ -17,4 +24,6 @@ public:
virtual void DisableCollisions( int index0, int index1 ) = 0;
virtual bool ShouldCollide( int index0, int index1 ) = 0;
};
};
#endif // COLLISION_SET_H