diff options
author | dan miller | 2007-10-21 08:36:32 +0000 |
---|---|---|
committer | dan miller | 2007-10-21 08:36:32 +0000 |
commit | 2f8d7092bc2c9609fa98d6888106b96f38b22828 (patch) | |
tree | da6c37579258cc965b52a75aee6135fe44237698 /libraries/ode-0.9/contrib/DotNetManaged/Space.cpp | |
parent | * Committing new PolicyManager based on an ACL system. (diff) | |
download | opensim-SC-2f8d7092bc2c9609fa98d6888106b96f38b22828.zip opensim-SC-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.gz opensim-SC-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.bz2 opensim-SC-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.xz |
libraries moved to opensim-libs, a new repository
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/Space.cpp')
-rw-r--r-- | libraries/ode-0.9/contrib/DotNetManaged/Space.cpp | 53 |
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 | |||
7 | namespace 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 | } | ||