aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h')
-rw-r--r--PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h b/PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h
index 814f4cc1..c6222f0b 100644
--- a/PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h
+++ b/PhysX_3.4/Source/LowLevelDynamics/src/DySolverContact4.h
@@ -115,8 +115,9 @@ struct SolverContactBatchPointBase4
Vec4V velMultiplier;
Vec4V scaledBias;
Vec4V biasedErr;
+ Vec4V maxContactImpulse;
};
-PX_COMPILE_TIME_ASSERT(sizeof(SolverContactBatchPointBase4) == 96);
+PX_COMPILE_TIME_ASSERT(sizeof(SolverContactBatchPointBase4) == 112);
/**
\brief Contains the additional data required to represent 4 contacts between 2 dynamic bodies
@@ -128,7 +129,7 @@ struct SolverContactBatchPointDynamic4 : public SolverContactBatchPointBase4
Vec4V rbXnY;
Vec4V rbXnZ;
};
-PX_COMPILE_TIME_ASSERT(sizeof(SolverContactBatchPointDynamic4) == 144);
+PX_COMPILE_TIME_ASSERT(sizeof(SolverContactBatchPointDynamic4) == 160);
/**
\brief This represents the shared information of a batch of 4 friction constraints