Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CSopcodecollider.cpp File Reference
#include "CSopcodecollider.h"
#include "opcodeqsqrt.h"
#include "opcodeqint.h"
#include "opcodegarray.h"

Go to the source code of this file.

Macros

#define _X   1000
 

Functions

static CS_DECLARE_GROWING_ARRAY_REF (pairs, csCollisionPair)
 
float min3 (float a, float b, float c)
 
float max3 (float a, float b, float c)
 

Macro Definition Documentation

#define _X   1000

Definition at line 30 of file CSopcodecollider.cpp.

Function Documentation

static CS_DECLARE_GROWING_ARRAY_REF ( pairs  ,
csCollisionPair   
)
static
float max3 ( float  a,
float  b,
float  c 
)
inline

Definition at line 56 of file CSopcodecollider.cpp.

57 { return (a > b ? (a > c ? a : (c > b ? c : b)) : (b > c ? b : c)); }
float min3 ( float  a,
float  b,
float  c 
)
inline

Definition at line 54 of file CSopcodecollider.cpp.

55 { return (a < b ? (a < c ? a : (c < b ? c : b)) : (b < c ? b : c)); }