Created
June 30, 2011 07:22
-
-
Save qpfiffer/1055794 to your computer and use it in GitHub Desktop.
Shitty collision detection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (floorPads1.floorPadsPlaces[localPlayerPos[2]][localPlayerPos[0]] == 1) { | |
return 1; | |
} | |
else // Redundant but FUCK YOU | |
return 0; | |
//glEnable(GL_LIGHTING); //GO TO HELL | |
newRoomOrigin[i] = newRoomOrigin[i] + newRoomDim[i]; // Just look at it you dumbass | |
int collisionCheck(struct object obj1, struct object obj2) { | |
//Return 0 on no collision, 1 on a collision | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment