Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/collision_detection/cd_engine.cc @ 4546

Last change on this file since 4546 was 4546, checked in by patrick, 19 years ago

orxonox/trunk: implemented some test functions, that don't work untils now: some link error when compiling the collision_detection/framework

File size: 1.2 KB
RevLine 
[4510]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:
[4511]12   main-programmer: Patrick Boenzli
[4510]13   co-programmer: ...
14*/
15
[4511]16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_COLLISION
[4510]17
[4511]18#include "cd_engine.h"
[4546]19#include "obb_tree.h"
20#include "debug.h"
[4510]21
22using namespace std;
23
24
25/**
26   \brief standard constructor
27*/
[4511]28CDEngine::CDEngine () 
[4510]29{
[4511]30   this->setClassName("CDEngine");
31   this->setClassID(CL_CD_ENGINE, "CDEngine"); 
[4510]32}
33
34/**
35   \brief the singleton reference to this class
36*/
[4511]37CDEngine* CDEngine::singletonRef = NULL;
[4510]38
39/**
40   \brief standard deconstructor
41
42*/
[4511]43CDEngine::~CDEngine () 
[4510]44{
[4511]45  CDEngine::singletonRef = NULL;
[4510]46
47}
[4546]48
49
50void CDEngine::debug()
51{
52  PRINT(0)("\n=============================| CDEngine::debug() |===\n");
53  PRINT(0)("=  CDEngine: Spawning Tree Start\n");
54
55  PRINT(0)("=  CDEngine: Spawning Tree: Finished\n");
56  PRINT(0)("=======================================================\n");     
57
58}
Note: See TracBrowser for help on using the repository browser.