- Timestamp:
- May 3, 2019, 11:23:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS19/src/modules/pacman/Pacman.cc
r12316 r12338 140 140 //Check for collisions between to objects (compare float numbers) 141 141 bool Pacman::collis(Vector3 one, Vector3 other){ 142 if((abs(one.x-other.x)<1 0) && (abs(one.y-other.y)<10) && (abs(one.z-other.z)<10))142 if((abs(one.x-other.x)<19) && (abs(one.y-other.y)<10) && (abs(one.z-other.z)<19)) 143 143 return true; 144 144 return false;
Note: See TracChangeset
for help on using the changeset viewer.