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
opbox.h File Reference
#include "opvector3.h"

Go to the source code of this file.

Classes

class  csBox3
 
struct  csBox3::bEdge
 

Macros

#define CS_BOUNDINGBOX_MAXVALUE   1000000000.
 
#define BOX_CORNER_xyz   0
 
#define BOX_CORNER_xyZ   1
 
#define BOX_CORNER_xYz   2
 
#define BOX_CORNER_xYZ   3
 
#define BOX_CORNER_Xyz   4
 
#define BOX_CORNER_XyZ   5
 
#define BOX_CORNER_XYz   6
 
#define BOX_CORNER_XYZ   7
 
#define BOX_SIDE_x   0
 
#define BOX_SIDE_X   1
 
#define BOX_SIDE_y   2
 
#define BOX_SIDE_Y   3
 
#define BOX_SIDE_z   4
 
#define BOX_SIDE_Z   5
 
#define BOX_INSIDE   6
 
#define BOX_EDGE_Xyz_xyz   0
 
#define BOX_EDGE_xyz_Xyz   1
 
#define BOX_EDGE_xyz_xYz   2
 
#define BOX_EDGE_xYz_xyz   3
 
#define BOX_EDGE_xYz_XYz   4
 
#define BOX_EDGE_XYz_xYz   5
 
#define BOX_EDGE_XYz_Xyz   6
 
#define BOX_EDGE_Xyz_XYz   7
 
#define BOX_EDGE_Xyz_XyZ   8
 
#define BOX_EDGE_XyZ_Xyz   9
 
#define BOX_EDGE_XyZ_XYZ   10
 
#define BOX_EDGE_XYZ_XyZ   11
 
#define BOX_EDGE_XYZ_XYz   12
 
#define BOX_EDGE_XYz_XYZ   13
 
#define BOX_EDGE_XYZ_xYZ   14
 
#define BOX_EDGE_xYZ_XYZ   15
 
#define BOX_EDGE_xYZ_xYz   16
 
#define BOX_EDGE_xYz_xYZ   17
 
#define BOX_EDGE_xYZ_xyZ   18
 
#define BOX_EDGE_xyZ_xYZ   19
 
#define BOX_EDGE_xyZ_xyz   20
 
#define BOX_EDGE_xyz_xyZ   21
 
#define BOX_EDGE_xyZ_XyZ   22
 
#define BOX_EDGE_XyZ_xyZ   23
 

Macro Definition Documentation

#define BOX_CORNER_xyz   0

Indices of corner vertices for csBox3. Used by csBox3::GetCorner().

Definition at line 40 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_xyZ   1

Definition at line 41 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_xYz   2

Definition at line 42 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_xYZ   3

Definition at line 43 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_Xyz   4

Definition at line 44 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_XyZ   5

Definition at line 45 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_XYz   6

Definition at line 46 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_CORNER_XYZ   7

Definition at line 47 of file opbox.h.

Referenced by csBox3::GetCorner().

#define BOX_EDGE_Xyz_xyz   0

Indices of edges for cxBox3. Index e+1 is opposite edge of e (with e even).

Definition at line 65 of file opbox.h.

#define BOX_EDGE_xyz_Xyz   1

Definition at line 66 of file opbox.h.

#define BOX_EDGE_xyz_xYz   2

Definition at line 67 of file opbox.h.

#define BOX_EDGE_xYz_xyz   3

Definition at line 68 of file opbox.h.

#define BOX_EDGE_xYz_XYz   4

Definition at line 69 of file opbox.h.

#define BOX_EDGE_XYz_xYz   5

Definition at line 70 of file opbox.h.

#define BOX_EDGE_XYz_Xyz   6

Definition at line 71 of file opbox.h.

#define BOX_EDGE_Xyz_XYz   7

Definition at line 72 of file opbox.h.

#define BOX_EDGE_Xyz_XyZ   8

Definition at line 73 of file opbox.h.

#define BOX_EDGE_XyZ_Xyz   9

Definition at line 74 of file opbox.h.

#define BOX_EDGE_XyZ_XYZ   10

Definition at line 75 of file opbox.h.

#define BOX_EDGE_XYZ_XyZ   11

Definition at line 76 of file opbox.h.

#define BOX_EDGE_XYZ_XYz   12

Definition at line 77 of file opbox.h.

#define BOX_EDGE_XYz_XYZ   13

Definition at line 78 of file opbox.h.

#define BOX_EDGE_XYZ_xYZ   14

Definition at line 79 of file opbox.h.

#define BOX_EDGE_xYZ_XYZ   15

Definition at line 80 of file opbox.h.

#define BOX_EDGE_xYZ_xYz   16

Definition at line 81 of file opbox.h.

#define BOX_EDGE_xYz_xYZ   17

Definition at line 82 of file opbox.h.

#define BOX_EDGE_xYZ_xyZ   18

Definition at line 83 of file opbox.h.

#define BOX_EDGE_xyZ_xYZ   19

Definition at line 84 of file opbox.h.

#define BOX_EDGE_xyZ_xyz   20

Definition at line 85 of file opbox.h.

#define BOX_EDGE_xyz_xyZ   21

Definition at line 86 of file opbox.h.

#define BOX_EDGE_xyZ_XyZ   22

Definition at line 87 of file opbox.h.

#define BOX_EDGE_XyZ_xyZ   23

Definition at line 88 of file opbox.h.

#define BOX_INSIDE   6

Definition at line 59 of file opbox.h.

#define BOX_SIDE_x   0

Indices of faces for csBox3. Used by csBox3::GetSide().

Definition at line 53 of file opbox.h.

Referenced by csBox3::Adjacent().

#define BOX_SIDE_X   1

Definition at line 54 of file opbox.h.

Referenced by csBox3::Adjacent().

#define BOX_SIDE_y   2

Definition at line 55 of file opbox.h.

Referenced by csBox3::Adjacent().

#define BOX_SIDE_Y   3

Definition at line 56 of file opbox.h.

Referenced by csBox3::Adjacent().

#define BOX_SIDE_z   4

Definition at line 57 of file opbox.h.

Referenced by csBox3::Adjacent().

#define BOX_SIDE_Z   5

Definition at line 58 of file opbox.h.

Referenced by csBox3::Adjacent().

#define CS_BOUNDINGBOX_MAXVALUE   1000000000.

The maximum value that a coordinate in the bounding box can use. This is considered the 'infinity' value used for empty bounding boxes.

Definition at line 33 of file opbox.h.

Referenced by csBox3::StartBoundingBox().