aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Include/solver/PxSolverDefs.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
commitd1c812f1162e5fdb13c215792725b2591d7428f5 (patch)
tree407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Include/solver/PxSolverDefs.h
parentPhysX 3.4, APEX 1.4 patch release @22121272 (diff)
downloadphysx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz
physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Include/solver/PxSolverDefs.h')
-rw-r--r--PhysX_3.4/Include/solver/PxSolverDefs.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/PhysX_3.4/Include/solver/PxSolverDefs.h b/PhysX_3.4/Include/solver/PxSolverDefs.h
index 0d148185..72f94633 100644
--- a/PhysX_3.4/Include/solver/PxSolverDefs.h
+++ b/PhysX_3.4/Include/solver/PxSolverDefs.h
@@ -128,27 +128,24 @@ struct PxSolverConstraintDesc
Dy::FsData* articulationB; //!< Articulation pointer for body B
};
PxU16 linkIndexA; //!< Link index defining which link in Articulation A this constraint affects. If not an articulation, must be NO_LINK
+ PxU16 linkIndexB; //!< Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK.
union
{
PxU16 articulationALength; //!< The total length of articulation A in multiples of 16 bytes
- PxU16 bodyADataIndex; //!< Body A's index into the SolverBodyData array
+ PxU32 bodyADataIndex; //!< Body A's index into the SolverBodyData array
};
- PxU16 linkIndexB; //!< Link index defining which link in Articulation B this constraint affects. If not an articulation, must be NO_LINK.
union
{
PxU16 articulationBLength; //!< The total lengh of articulation B in multiples of 16 bytes.
- PxU16 bodyBDataIndex; //!< Body B's index into the SolverBodyData array
+ PxU32 bodyBDataIndex; //!< Body B's index into the SolverBodyData array
};
-
- PxU8* constraint; //!< Pointer to the constraint rows to be solved
- void* writeBack; //!< Pointer to the writeback structure results for this given constraint are to be written to
PxU16 writeBackLengthOver4; //!< writeBackLength/4, max writeback length is 256K, allows PxSolverConstraintDesc to fit in 32 bytes
PxU16 constraintLengthOver16; //!< constraintLength/16, max constraint length is 1MB, allows PxSolverConstraintDesc to fit in 32 bytes
- PxU16 bodyASolverProgress; //!< Required solver progress for this constraint
- PxU16 bodyBSolverProgress; //!< Required sovler progress for this constraint.
+ PxU8* constraint; //!< Pointer to the constraint rows to be solved
+ void* writeBack; //!< Pointer to the writeback structure results for this given constraint are to be written to
};
struct PxSolverConstraintPrepDescBase