aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/Space.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/Space.cpp')
-rw-r--r--libraries/ode-0.9/contrib/DotNetManaged/Space.cpp53
1 files changed, 0 insertions, 53 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/Space.cpp b/libraries/ode-0.9/contrib/DotNetManaged/Space.cpp
deleted file mode 100644
index c9a7e19..0000000
--- a/libraries/ode-0.9/contrib/DotNetManaged/Space.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
1#include "StdAfx.h"
2
3#include <ode/ode.h>
4#include "Space.h"
5#include "TEST.h"
6
7namespace ODEManaged
8{
9
10 //Constructor
11
12 Space::Space(void)
13 {
14 _id = dSimpleSpaceCreate();
15 }
16
17 Space::Space(int minlevel, int maxlevel)
18 {
19 _id = dHashSpaceCreate();
20 dHashSpaceSetLevels(this->_id, minlevel, maxlevel);
21 }
22
23
24 //Destructor
25
26 Space::~Space(void)
27 {
28 dSpaceDestroy(this->_id);
29 }
30
31
32 //Methods
33
34 //Id
35 dSpaceID Space::Id()
36 {
37 return _id;
38 }
39
40
41 //Collide
42 void Space::Collide(void *data, dNearCallback *callback)
43 {
44 dSpaceCollide(this->_id, data, callback);
45 }
46
47
48
49
50
51
52
53}