Skip to content

Commit

Permalink
removed unused data member
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Dec 31, 2024
1 parent 506d735 commit a3cfda7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions newton-4.00/applications/ndSandbox/ndDemoEntityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//#define DEFAULT_SCENE 1 // gpu basic rigidbody
//#define DEFAULT_SCENE 2 // friction ramp
//#define DEFAULT_SCENE 3 // basic compound shapes
#define DEFAULT_SCENE 4 // conservation of momentum
//#define DEFAULT_SCENE 4 // conservation of momentum
//#define DEFAULT_SCENE 5 // basic Stacks
//#define DEFAULT_SCENE 6 // basic Trigger
//#define DEFAULT_SCENE 7 // object Placement
Expand All @@ -57,7 +57,7 @@
//#define DEFAULT_SCENE 17 // cart pole discrete controller
//#define DEFAULT_SCENE 18 // cart pole continue controller
//#define DEFAULT_SCENE 19 // unit cycle controller
//#define DEFAULT_SCENE 20 // simple industrial robot
#define DEFAULT_SCENE 20 // simple industrial robot
//#define DEFAULT_SCENE 21 // advanced industrial robot
//#define DEFAULT_SCENE 22 // quadruped test 1
//#define DEFAULT_SCENE 23 // quadruped test 2
Expand Down
4 changes: 0 additions & 4 deletions newton-4.00/sdk/dNewton/dIkSolver/ndIk6DofEffector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ ndIk6DofEffector::ndIk6DofEffector()
,m_angularDamper(ndFloat32(50.0f))
,m_angularMaxTorque(D_LCP_MAX_VALUE)
,m_angularRegularizer(ndFloat32(5.0e-3f))
,m_angularMaxSpringRamp(ndFloat32(1.0e10f))
,m_linearSpring(ndFloat32(1000.0f))
,m_linearDamper(ndFloat32(50.0f))
,m_linearMaxForce(D_LCP_MAX_VALUE)
,m_linearRegularizer(ndFloat32(5.0e-3f))
,m_linearMaxSpringRamp(ndFloat32(1.0e10f))
,m_rotationType(m_disabled)
,m_controlDofOptions(0xff)
{
Expand All @@ -40,12 +38,10 @@ ndIk6DofEffector::ndIk6DofEffector(const ndMatrix& pinAndPivotChild, const ndMat
,m_angularDamper(ndFloat32(50.0f))
,m_angularMaxTorque(D_LCP_MAX_VALUE)
,m_angularRegularizer(ndFloat32(5.0e-3f))
,m_angularMaxSpringRamp(ndFloat32(1.0e10f))
,m_linearSpring(ndFloat32(1000.0f))
,m_linearDamper(ndFloat32(50.0f))
,m_linearMaxForce(D_LCP_MAX_VALUE)
,m_linearRegularizer(ndFloat32(5.0e-3f))
,m_linearMaxSpringRamp(ndFloat32(1.0e10f))
,m_rotationType(m_disabled)
,m_controlDofOptions(0xff)
{
Expand Down
2 changes: 0 additions & 2 deletions newton-4.00/sdk/dNewton/dIkSolver/ndIk6DofEffector.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ class ndIk6DofEffector: public ndJointBilateralConstraint
ndFloat32 m_angularDamper;
ndFloat32 m_angularMaxTorque;
ndFloat32 m_angularRegularizer;
ndFloat32 m_angularMaxSpringRamp;

ndFloat32 m_linearSpring;
ndFloat32 m_linearDamper;
ndFloat32 m_linearMaxForce;
ndFloat32 m_linearRegularizer;
ndFloat32 m_linearMaxSpringRamp;

ndRotationType m_rotationType;
union
Expand Down

0 comments on commit a3cfda7

Please sign in to comment.