aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp
diff options
context:
space:
mode:
authordan miller2007-10-19 05:15:33 +0000
committerdan miller2007-10-19 05:15:33 +0000
commit79eca25c945a535a7a0325999034bae17da92412 (patch)
tree40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp
parentadding ode source to /libraries (diff)
downloadopensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.zip
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.gz
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.bz2
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.xz
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp')
-rw-r--r--libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp b/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp
new file mode 100644
index 0000000..e2d8de6
--- /dev/null
+++ b/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp
@@ -0,0 +1,35 @@
1#include "StdAfx.h"
2
3#include <ode/ode.h>
4#include "joint.h"
5#include "CommonMgd.h"
6#include "world.h"
7
8namespace ODEManaged
9{
10
11 //Constructor
12
13 Joint::Joint(void)
14 {
15 _id=0;
16 }
17
18
19 //Destructor
20
21 Joint::~Joint(void)
22 {
23 dJointDestroy(this->_id);
24 }
25
26
27 //Methods
28
29 //Id
30 dJointID Joint::Id(void)
31 {
32 return _id;
33 }
34
35}