1
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
* OPCODE - Optimized Collision Detection
4
* Copyright (C) 2001 Pierre Terdiman
5
* Homepage: http://www.codercorner.com/Opcode.htm
7
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11
* Contains common classes & defs used in OPCODE.
12
* \file OPC_Common.cpp
13
* \author Pierre Terdiman
14
* \date March, 20, 2001
16
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20
* An AABB dedicated to collision detection.
21
* We don't use the generic AABB class included in ICE, since it can be a Min/Max or a Center/Extents one (depends
22
* on compilation flags). Since the Center/Extents model is more efficient in collision detection, it was worth
23
* using an extra special class.
25
* \class CollisionAABB
26
* \author Pierre Terdiman
28
* \date March, 20, 2001
30
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
32
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
35
* Center/Extent model, using 16-bits integers.
37
* \class QuantizedAABB
38
* \author Pierre Terdiman
40
* \date March, 20, 2001
42
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
44
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
48
using namespace Opcode;