Skip to content

Commit

Permalink
updated 3.14 (fixed diagionalization bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Feb 26, 2020
1 parent 4d754e4 commit 406794f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions applications/demosSandbox/sdkDemos/DemoEntityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//#define DEFAULT_SCENE 1 // coefficients of friction
//#define DEFAULT_SCENE 2 // coefficients of restitution
//#define DEFAULT_SCENE 3 // newton cradle
#define DEFAULT_SCENE 4 // gyroscope precession
//#define DEFAULT_SCENE 4 // gyroscope precession
//#define DEFAULT_SCENE 5 // closest distance
//#define DEFAULT_SCENE 6 // primitive collision
//#define DEFAULT_SCENE 7 // kinematic bodies
Expand All @@ -60,7 +60,7 @@
//#define DEFAULT_SCENE 25 // multi ray casting using the threading Job scheduler
//#define DEFAULT_SCENE 26 // standard joints
//#define DEFAULT_SCENE 27 // servo joints
//#define DEFAULT_SCENE 28 // construction vehicle
#define DEFAULT_SCENE 28 // construction vehicle
//#define DEFAULT_SCENE 29 // six axis manipulator
//#define DEFAULT_SCENE 30 // hexapod Robot
//#define DEFAULT_SCENE 31 // basic rag doll
Expand Down Expand Up @@ -323,7 +323,7 @@ DemoEntityManager::DemoEntityManager ()
// m_autoSleepMode = false;
// m_broadPhaseType = 1;
// m_solverPasses = 4;
// m_workerThreads = 8;
m_workerThreads = 8;
// m_solverSubSteps = 2;
// m_showRaycastHit = true;
// m_showCenterOfMass = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ void ConstructionVehicle (DemoEntityManager* const scene)
matrix.m_posit.m_y += 1.5f;
vehicleManager->m_player = vehicleManager->CreateExcavator("excavator.ngd", matrix);

#if 1
#if 0
// stress test parallel solver
dFloat separation = 8.0f;
matrix.m_posit.m_z += separation;
Expand Down
2 changes: 1 addition & 1 deletion sdk/dgNewton/Newton.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


#define NEWTON_MAJOR_VERSION 3
#define NEWTON_MINOR_VERSION 15
#define NEWTON_MINOR_VERSION 14

#include <dgTypes.h>

Expand Down
3 changes: 2 additions & 1 deletion sdk/dgNewtonReferenceGPU/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ BOOL APIENTRY DllMain( HMODULE hModule,
if (!(info.m_ecx & (1 << 28))) {
return FALSE;
}
return TRUE;
// return TRUE;
return FALSE;
}
#endif

0 comments on commit 406794f

Please sign in to comment.