Collision Checker
application.h
Go to the documentation of this file.
1 #ifndef CPP_COLLISION_APPLICATION_H_
2 #define CPP_COLLISION_APPLICATION_H_
3 
5 
7 
8 #if TIME_PROFILE_ENABLED
9 #define STACK_TIMER ::test::StackTimer
10 #else
11 #define STACK_TIMER
12 #endif
13 
14 #if ENABLE_COLLISION_TESTS == 1
15 
17 
18 #endif
19 
20 static void tim(int a) {
21  // placeholder
22 }
23 
24 #define TIMER_windowQuery 0
25 #define TIMER_timeSlice 1
26 #define TIMER_collide 2
27 #define TIMER_collide_3 3
28 #define TIMER_union 4
29 #define TIMER_chull_polygon 5
30 #define TIMER_boost_obb_obb_convex_hull 6
31 #define TIMER_get_cand 7
32 #define TIMER_difference 8
33 #define TIMER_grid_build 9
34 #define TIMER_grid_candidates 10
35 #define TIMER_grid_narrowphase 11
36 #define TIMER_grid_static_total 12
37 #define TIMER_grid_hashing 13
38 #define TIMER_grid_total_body 14
39 #define TIMER_poly_build 15
40 #define TIMER_grid_window_query 16
41 #define TIMER_polygon_enclosure 17
42 
43 #if TIME_PROFILE_ENABLED
44 #define TIMER_START(x) ::test::start_timer(x);
45 #define TIMER_STOP(x) ::test::stop_timer(x);
46 #else
47 #define TIMER_START(x)
48 #define TIMER_STOP(x)
49 #endif
50 
51 #endif /* CPP_COLLISION_APPLICATION_H_ */