Changeset 1975 in orxonox.OLD for orxonox/branches/chris/core/collision.h
- Timestamp:
- Jun 18, 2004, 7:56:18 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/core/collision.h
r1966 r1975 3 3 #define COLLISION_H 4 4 5 #include "stdincl.h" 5 #include "vector.h" 6 #include "coordinates.h" 7 #include <stdlib.h> 8 #include <stdio.h> 9 #include <strings.h> 6 10 7 11 typedef struct CC_Tree … … 29 33 int store (char* filename); 30 34 35 friend bool cctree_trace( const Placement* p, CC_Tree* t, unsigned long* hitflags, const Line* trace, Vector* impactpoint); 31 36 friend bool cctree_iterate(const Placement* pa, CC_Tree* ta, unsigned long* ahitflags, const Placement* pb, CC_Tree* tb, unsigned long* bhitflags); 32 friend bool check_trace (const Placement* pa, const CollisionCluster* a, unsigned long* ahitflags, const Line &trace, Vector* impactpoint);37 friend bool check_trace (const Placement* pa, const CollisionCluster* a, unsigned long* ahitflags, const Line* trace, Vector* impactpoint); 33 38 friend bool check_collision (const Placement* pa, const CollisionCluster* a, unsigned long* ahitflags, const Placement* pb, const CollisionCluster* b, unsigned long* bhitflags); 34 39 }; 35 40 36 41 bool sphere_sphere_collision( Vector m1, float r1, Vector m2, float r2); 37 bool trace_sphere_collision( Vector m, float r, Line&l, Vector* impactpoint);42 bool trace_sphere_collision( Vector m, float r, const Line* l, Vector* impactpoint); 38 43 39 44 void setflag( unsigned long* flags, unsigned long ID);
Note: See TracChangeset
for help on using the changeset viewer.