aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp
diff options
context:
space:
mode:
authordan miller2007-10-19 05:20:07 +0000
committerdan miller2007-10-19 05:20:07 +0000
commitfca74b0bf0a0833f5701e9c0de7b3bc15b2233dd (patch)
tree51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp
parentresubmitting ode (diff)
downloadopensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.zip
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.gz
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.bz2
opensim-SC-fca74b0bf0a0833f5701e9c0de7b3bc15b2233dd.tar.xz
dont ask
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp')
-rw-r--r--libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp53
1 files changed, 0 insertions, 53 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp b/libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp
deleted file mode 100644
index 925751f..0000000
--- a/libraries/ode-0.9/contrib/DotNetManaged/JointGroup.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
1#include "StdAfx.h"
2
3#include <ode/ode.h>
4#include "jointgroup.h"
5
6namespace ODEManaged
7{
8
9 //Constructors
10
11 JointGroup::JointGroup(void)
12 {
13 _id=0;
14 }
15
16 JointGroup::JointGroup (int maxSize)
17 {
18 _id = dJointGroupCreate(maxSize);
19 }
20
21
22 //Destructor
23
24 JointGroup::~JointGroup(void)
25 {
26 dJointGroupDestroy(this->_id);
27 }
28
29
30 //Methods
31
32 //ID
33 dJointGroupID JointGroup::Id()
34 {
35 return _id;
36 }
37
38
39 //Create
40 void JointGroup::Create (int maxSize)
41 {
42 if(_id) dJointGroupDestroy(_id);
43 _id = dJointGroupCreate(maxSize);
44 }
45
46
47 //Empty
48 void JointGroup::Empty (void)
49 {
50 dJointGroupEmpty(this->_id);
51 }
52
53}