From 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 04:28:53 +0000 Subject: adding ode source to /libraries --- .../ode-0.9\\/contrib/DotNetManaged/JointHinge2.h" | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 "libraries/ode-0.9\\/contrib/DotNetManaged/JointHinge2.h" (limited to 'libraries/ode-0.9\/contrib/DotNetManaged/JointHinge2.h') diff --git "a/libraries/ode-0.9\\/contrib/DotNetManaged/JointHinge2.h" "b/libraries/ode-0.9\\/contrib/DotNetManaged/JointHinge2.h" new file mode 100755 index 0000000..e883ea8 --- /dev/null +++ "b/libraries/ode-0.9\\/contrib/DotNetManaged/JointHinge2.h" @@ -0,0 +1,48 @@ +#pragma once + +#include "Joint.h" +#include "CommonMgd.h" + +namespace ODEManaged +{ + __gc public class JointHinge2 : public Joint + { + public: + + + //Constructors + + JointHinge2 (void); + JointHinge2 (World &world); + JointHinge2 (World &world, JointGroup &jointGroup); + + //Destructors + + virtual ~JointHinge2 (void); + + + //Methods + + //Overloaded Hinge.Create + void Create (World &world, JointGroup &jointGroup); + void Create (World &world); + + void SetAnchor (double x, double y, double z); + Vector3 GetAnchor (void); + + void SetAxis1 (double x, double y, double z); + Vector3 GetAxis1 (void); + + void SetAxis2 (double x, double y, double z); + Vector3 GetAxis2 (void); + + double GetAngle1 (void); + double GetAngle1Rate (void); + + //double GetAngle2 (void); + double GetAngle2Rate (void); + + void Attach (Body &body1, Body &body2); + void Attach( Body &body1); + }; +} -- cgit v1.1