Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/coll_rect/src/lib/collision_reaction/cr_defs.h @ 9892

Last change on this file since 9892 was 9892, checked in by patrick, 18 years ago

new interface to collision registers, more transparent. some more functionality

File size: 1.1 KB
RevLine 
[7941]1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: Patrick Boenzli
13*/
14
15/*!
16 * @file cr_defs.h
17 *  some global collision reaction definitions
18 */
19
20#ifndef _CR_DEFS_H
21#define _CR_DEFS_H
22
[7964]23//!< the maximal number of touching objects (collisions) per frame
24#define CR_MAX_COLLISIONS          500
[7941]25
[7964]26//!< the maximal number of bounding volumes collision events per frame
27#define CR_MAX_COLLISION_EVENTS   3000
[7941]28
29
[8894]30//!< the collision axis x collision event
[9061]31#define COLLISION_TYPE_AXIS_X      1
[9062]32#define COLLISION_TYPE_AXIS_X_NEG  2
[8894]33//!< the collision axis y collision event
[9061]34#define COLLISION_TYPE_AXIS_Y      3
35#define COLLISION_TYPE_AXIS_Y_NEG  4
[8894]36//!< the collision axis z collision event
[9061]37#define COLLISION_TYPE_AXIS_Z      5
38#define COLLISION_TYPE_AXIS_Z_NEG  6
[8894]39//!< the collision is a obb collision
[9892]40#define COLLISION_TYPE_OBB         8
[7941]41
[8894]42
[7941]43#endif /* _NETWORK_MANAGER */
Note: See TracBrowser for help on using the repository browser.