diff options
author | neoraider <devnull@localhost> | 2007-04-03 14:48:00 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-04-03 14:48:00 +0200 |
commit | dc1306244e3a7853c31cd94c5ac3d97aa6e6c0d5 (patch) | |
tree | 758cc525af6b6fca0af22482ec51c70017dbb7fc /util.h | |
download | rc2007-rescue-dc1306244e3a7853c31cd94c5ac3d97aa6e6c0d5.tar rc2007-rescue-dc1306244e3a7853c31cd94c5ac3d97aa6e6c0d5.zip |
Neues Rescue-Programm angefangen (2)
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#ifndef _ROBOCUP_UTIL_H_ +#define _ROBOCUP_UTIL_H_ + +#define MIN(a,b) ((a<b)?a:b) +#define MAX(a,b) ((a>b)?a:b) +#define CLAMP(min,x,max) ((x<min)?min:(x>max)?max:x) +#define ABS(a) ((a<0)?-a:a) + +#endif |