diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
| commit | d1c812f1162e5fdb13c215792725b2591d7428f5 (patch) | |
| tree | 407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Source/PhysXMetaData | |
| parent | PhysX 3.4, APEX 1.4 patch release @22121272 (diff) | |
| download | physx-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/Source/PhysXMetaData')
4 files changed, 53 insertions, 27 deletions
diff --git a/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjectNames.h b/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjectNames.h index 80306932..95d41feb 100644 --- a/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjectNames.h +++ b/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjectNames.h @@ -268,6 +268,7 @@ PxMeshScale_PropertiesStop, PxConvexMeshGeometry_PropertiesStart, PxConvexMeshGeometry_Scale, PxConvexMeshGeometry_ConvexMesh, +PxConvexMeshGeometry_MaxMargin, PxConvexMeshGeometry_MeshFlags, PxConvexMeshGeometry_PropertiesStop, PxSphereGeometry_PropertiesStart, @@ -384,6 +385,7 @@ PxSceneDesc_FrictionType, PxSceneDesc_BounceThresholdVelocity, PxSceneDesc_FrictionOffsetThreshold, PxSceneDesc_CcdMaxSeparation, +PxSceneDesc_SolverOffsetSlop, PxSceneDesc_Flags, PxSceneDesc_CpuDispatcher, PxSceneDesc_GpuDispatcher, @@ -394,6 +396,7 @@ PxSceneDesc_UserData, PxSceneDesc_SolverBatchSize, PxSceneDesc_NbContactDataBlocks, PxSceneDesc_MaxNbContactDataBlocks, +PxSceneDesc_MaxBiasCoefficient, PxSceneDesc_ContactReportStreamBufferSize, PxSceneDesc_CcdMaxPasses, PxSceneDesc_WakeCounterResetValue, diff --git a/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjects.h b/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjects.h index eaebe240..897bb2ff 100644 --- a/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjects.h +++ b/PhysX_3.4/Source/PhysXMetaData/core/include/PxAutoGeneratedMetaDataObjects.h @@ -67,7 +67,7 @@ template<> struct PxEnumTraits< physx::PxShapeFlag::Enum > { PxEnumTraits() : Na { static const char* getClassName() { return "PxPhysics"; } - PxReadOnlyPropertyInfo<PX_PROPERTY_INFO_NAME::PxPhysics_TolerancesScale, PxPhysics, const PxTolerancesScale & > TolerancesScale; + PxReadOnlyPropertyInfo<PX_PROPERTY_INFO_NAME::PxPhysics_TolerancesScale, PxPhysics, const PxTolerancesScale > TolerancesScale; PxFactoryCollectionPropertyInfo<PX_PROPERTY_INFO_NAME::PxPhysics_TriangleMeshes, PxPhysics, PxTriangleMesh *, PxInputStream & > TriangleMeshes; PxFactoryCollectionPropertyInfo<PX_PROPERTY_INFO_NAME::PxPhysics_HeightFields, PxPhysics, PxHeightField *, PxInputStream & > HeightFields; PxFactoryCollectionPropertyInfo<PX_PROPERTY_INFO_NAME::PxPhysics_ConvexMeshes, PxPhysics, PxConvexMesh *, PxInputStream & > ConvexMeshes; @@ -393,6 +393,7 @@ template<> struct PxEnumTraits< physx::PxForceMode::Enum > { PxEnumTraits() : Na { "eENABLE_CCD_FRICTION", static_cast<PxU32>( physx::PxRigidBodyFlag::eENABLE_CCD_FRICTION ) }, { "eENABLE_POSE_INTEGRATION_PREVIEW", static_cast<PxU32>( physx::PxRigidBodyFlag::eENABLE_POSE_INTEGRATION_PREVIEW ) }, { "eENABLE_SPECULATIVE_CCD", static_cast<PxU32>( physx::PxRigidBodyFlag::eENABLE_SPECULATIVE_CCD ) }, + { "eENABLE_CCD_MAX_CONTACT_IMPULSE", static_cast<PxU32>( physx::PxRigidBodyFlag::eENABLE_CCD_MAX_CONTACT_IMPULSE ) }, { NULL, 0 } }; @@ -2006,11 +2007,13 @@ template<> struct PxEnumTraits< physx::PxConvexMeshGeometryFlag::Enum > { PxEnum : PxGeometryGeneratedValues { PxMeshScale Scale; PxConvexMesh * ConvexMesh; + PxReal MaxMargin; PxConvexMeshGeometryFlags MeshFlags; PX_PHYSX_CORE_API PxConvexMeshGeometryGeneratedValues( const PxConvexMeshGeometry* inSource ); }; DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxConvexMeshGeometry, Scale, PxConvexMeshGeometryGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxConvexMeshGeometry, ConvexMesh, PxConvexMeshGeometryGeneratedValues) + DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxConvexMeshGeometry, MaxMargin, PxConvexMeshGeometryGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxConvexMeshGeometry, MeshFlags, PxConvexMeshGeometryGeneratedValues) struct PxConvexMeshGeometryGeneratedInfo : PxGeometryGeneratedInfo @@ -2018,6 +2021,7 @@ template<> struct PxEnumTraits< physx::PxConvexMeshGeometryFlag::Enum > { PxEnum static const char* getClassName() { return "PxConvexMeshGeometry"; } PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxConvexMeshGeometry_Scale, PxConvexMeshGeometry, PxMeshScale, PxMeshScale > Scale; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxConvexMeshGeometry_ConvexMesh, PxConvexMeshGeometry, PxConvexMesh *, PxConvexMesh * > ConvexMesh; + PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxConvexMeshGeometry_MaxMargin, PxConvexMeshGeometry, PxReal, PxReal > MaxMargin; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxConvexMeshGeometry_MeshFlags, PxConvexMeshGeometry, PxConvexMeshGeometryFlags, PxConvexMeshGeometryFlags > MeshFlags; PX_PHYSX_CORE_API PxConvexMeshGeometryGeneratedInfo(); @@ -2041,7 +2045,7 @@ template<> struct PxEnumTraits< physx::PxConvexMeshGeometryFlag::Enum > { PxEnum inStartIndex = PxGeometryGeneratedInfo::visitInstanceProperties( inOperator, inStartIndex ); return inStartIndex; } - static PxU32 instancePropertyCount() { return 3; } + static PxU32 instancePropertyCount() { return 4; } static PxU32 totalPropertyCount() { return instancePropertyCount() + PxGeometryGeneratedInfo::totalPropertyCount(); } template<typename TOperator> @@ -2051,8 +2055,9 @@ template<> struct PxEnumTraits< physx::PxConvexMeshGeometryFlag::Enum > { PxEnum PX_UNUSED(inStartIndex); inOperator( Scale, inStartIndex + 0 );; inOperator( ConvexMesh, inStartIndex + 1 );; - inOperator( MeshFlags, inStartIndex + 2 );; - return 3 + inStartIndex; + inOperator( MaxMargin, inStartIndex + 2 );; + inOperator( MeshFlags, inStartIndex + 3 );; + return 4 + inStartIndex; } }; template<> struct PxClassInfoTraits<PxConvexMeshGeometry> @@ -2445,7 +2450,7 @@ template<> struct PxEnumTraits< physx::PxFrictionType::Enum > { PxEnumTraits() : { "eBODY_MASS_AXES", static_cast<PxU32>( physx::PxVisualizationParameter::eBODY_MASS_AXES ) }, { "eBODY_LIN_VELOCITY", static_cast<PxU32>( physx::PxVisualizationParameter::eBODY_LIN_VELOCITY ) }, { "eBODY_ANG_VELOCITY", static_cast<PxU32>( physx::PxVisualizationParameter::eBODY_ANG_VELOCITY ) }, - { "eBODY_JOINT_GROUPS", static_cast<PxU32>( physx::PxVisualizationParameter::eBODY_JOINT_GROUPS ) }, + { "eDEPRECATED_BODY_JOINT_GROUPS", static_cast<PxU32>( physx::PxVisualizationParameter::eDEPRECATED_BODY_JOINT_GROUPS ) }, { "eCONTACT_POINT", static_cast<PxU32>( physx::PxVisualizationParameter::eCONTACT_POINT ) }, { "eCONTACT_NORMAL", static_cast<PxU32>( physx::PxVisualizationParameter::eCONTACT_NORMAL ) }, { "eCONTACT_ERROR", static_cast<PxU32>( physx::PxVisualizationParameter::eCONTACT_ERROR ) }, @@ -2976,6 +2981,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() PxReal BounceThresholdVelocity; PxReal FrictionOffsetThreshold; PxReal CcdMaxSeparation; + PxReal SolverOffsetSlop; PxSceneFlags Flags; PxCpuDispatcher * CpuDispatcher; PxGpuDispatcher * GpuDispatcher; @@ -2986,6 +2992,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() PxU32 SolverBatchSize; PxU32 NbContactDataBlocks; PxU32 MaxNbContactDataBlocks; + PxReal MaxBiasCoefficient; PxU32 ContactReportStreamBufferSize; PxU32 CcdMaxPasses; PxReal WakeCounterResetValue; @@ -3011,6 +3018,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, BounceThresholdVelocity, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, FrictionOffsetThreshold, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, CcdMaxSeparation, PxSceneDescGeneratedValues) + DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, SolverOffsetSlop, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, Flags, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, CpuDispatcher, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, GpuDispatcher, PxSceneDescGeneratedValues) @@ -3021,6 +3029,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, SolverBatchSize, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, NbContactDataBlocks, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, MaxNbContactDataBlocks, PxSceneDescGeneratedValues) + DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, MaxBiasCoefficient, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, ContactReportStreamBufferSize, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, CcdMaxPasses, PxSceneDescGeneratedValues) DEFINE_PROPERTY_TO_VALUE_STRUCT_MAP( PxSceneDesc, WakeCounterResetValue, PxSceneDescGeneratedValues) @@ -3049,6 +3058,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_BounceThresholdVelocity, PxSceneDesc, PxReal, PxReal > BounceThresholdVelocity; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_FrictionOffsetThreshold, PxSceneDesc, PxReal, PxReal > FrictionOffsetThreshold; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_CcdMaxSeparation, PxSceneDesc, PxReal, PxReal > CcdMaxSeparation; + PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_SolverOffsetSlop, PxSceneDesc, PxReal, PxReal > SolverOffsetSlop; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_Flags, PxSceneDesc, PxSceneFlags, PxSceneFlags > Flags; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_CpuDispatcher, PxSceneDesc, PxCpuDispatcher *, PxCpuDispatcher * > CpuDispatcher; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_GpuDispatcher, PxSceneDesc, PxGpuDispatcher *, PxGpuDispatcher * > GpuDispatcher; @@ -3059,6 +3069,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_SolverBatchSize, PxSceneDesc, PxU32, PxU32 > SolverBatchSize; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_NbContactDataBlocks, PxSceneDesc, PxU32, PxU32 > NbContactDataBlocks; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_MaxNbContactDataBlocks, PxSceneDesc, PxU32, PxU32 > MaxNbContactDataBlocks; + PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_MaxBiasCoefficient, PxSceneDesc, PxReal, PxReal > MaxBiasCoefficient; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_ContactReportStreamBufferSize, PxSceneDesc, PxU32, PxU32 > ContactReportStreamBufferSize; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_CcdMaxPasses, PxSceneDesc, PxU32, PxU32 > CcdMaxPasses; PxPropertyInfo<PX_PROPERTY_INFO_NAME::PxSceneDesc_WakeCounterResetValue, PxSceneDesc, PxReal, PxReal > WakeCounterResetValue; @@ -3085,7 +3096,7 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() PX_UNUSED(inStartIndex); return inStartIndex; } - static PxU32 instancePropertyCount() { return 34; } + static PxU32 instancePropertyCount() { return 36; } static PxU32 totalPropertyCount() { return instancePropertyCount(); } template<typename TOperator> PxU32 visitInstanceProperties( TOperator inOperator, PxU32 inStartIndex = 0 ) const @@ -3109,24 +3120,26 @@ template<> struct PxEnumTraits< physx::PxBroadPhaseType::Enum > { PxEnumTraits() inOperator( BounceThresholdVelocity, inStartIndex + 14 );; inOperator( FrictionOffsetThreshold, inStartIndex + 15 );; inOperator( CcdMaxSeparation, inStartIndex + 16 );; - inOperator( Flags, inStartIndex + 17 );; - inOperator( CpuDispatcher, inStartIndex + 18 );; - inOperator( GpuDispatcher, inStartIndex + 19 );; - inOperator( StaticStructure, inStartIndex + 20 );; - inOperator( DynamicStructure, inStartIndex + 21 );; - inOperator( DynamicTreeRebuildRateHint, inStartIndex + 22 );; - inOperator( UserData, inStartIndex + 23 );; - inOperator( SolverBatchSize, inStartIndex + 24 );; - inOperator( NbContactDataBlocks, inStartIndex + 25 );; - inOperator( MaxNbContactDataBlocks, inStartIndex + 26 );; - inOperator( ContactReportStreamBufferSize, inStartIndex + 27 );; - inOperator( CcdMaxPasses, inStartIndex + 28 );; - inOperator( WakeCounterResetValue, inStartIndex + 29 );; - inOperator( SanityBounds, inStartIndex + 30 );; - inOperator( GpuDynamicsConfig, inStartIndex + 31 );; - inOperator( GpuMaxNumPartitions, inStartIndex + 32 );; - inOperator( GpuComputeVersion, inStartIndex + 33 );; - return 34 + inStartIndex; + inOperator( SolverOffsetSlop, inStartIndex + 17 );; + inOperator( Flags, inStartIndex + 18 );; + inOperator( CpuDispatcher, inStartIndex + 19 );; + inOperator( GpuDispatcher, inStartIndex + 20 );; + inOperator( StaticStructure, inStartIndex + 21 );; + inOperator( DynamicStructure, inStartIndex + 22 );; + inOperator( DynamicTreeRebuildRateHint, inStartIndex + 23 );; + inOperator( UserData, inStartIndex + 24 );; + inOperator( SolverBatchSize, inStartIndex + 25 );; + inOperator( NbContactDataBlocks, inStartIndex + 26 );; + inOperator( MaxNbContactDataBlocks, inStartIndex + 27 );; + inOperator( MaxBiasCoefficient, inStartIndex + 28 );; + inOperator( ContactReportStreamBufferSize, inStartIndex + 29 );; + inOperator( CcdMaxPasses, inStartIndex + 30 );; + inOperator( WakeCounterResetValue, inStartIndex + 31 );; + inOperator( SanityBounds, inStartIndex + 32 );; + inOperator( GpuDynamicsConfig, inStartIndex + 33 );; + inOperator( GpuMaxNumPartitions, inStartIndex + 34 );; + inOperator( GpuComputeVersion, inStartIndex + 35 );; + return 36 + inStartIndex; } }; template<> struct PxClassInfoTraits<PxSceneDesc> diff --git a/PhysX_3.4/Source/PhysXMetaData/core/src/PxAutoGeneratedMetaDataObjects.cpp b/PhysX_3.4/Source/PhysXMetaData/core/src/PxAutoGeneratedMetaDataObjects.cpp index a80e525d..5d6860ae 100644 --- a/PhysX_3.4/Source/PhysXMetaData/core/src/PxAutoGeneratedMetaDataObjects.cpp +++ b/PhysX_3.4/Source/PhysXMetaData/core/src/PxAutoGeneratedMetaDataObjects.cpp @@ -34,10 +34,9 @@ // The source code for the generate was at one time checked into: // physx/PhysXMetaDataGenerator/llvm/tools/clang/lib/Frontend/PhysXMetaDataAction.cpp #include "PxMetaDataObjects.h" -#include "PxPhysicsAPI.h" #include "PxMetaDataCppPrefix.h" using namespace physx; -const PxTolerancesScale & getPxPhysics_TolerancesScale( const PxPhysics* inObj ) { return inObj->getTolerancesScale(); } +const PxTolerancesScale getPxPhysics_TolerancesScale( const PxPhysics* inObj ) { return inObj->getTolerancesScale(); } PxU32 getPxPhysics_TriangleMeshes( const PxPhysics* inObj, PxTriangleMesh ** outBuffer, PxU32 inBufSize ) { return inObj->getTriangleMeshes( outBuffer, inBufSize ); } PxU32 getNbPxPhysics_TriangleMeshes( const PxPhysics* inObj ) { return inObj->getNbTriangleMeshes( ); } PxTriangleMesh * createPxPhysics_TriangleMeshes( PxPhysics* inObj, PxInputStream & inCreateParam ){ return inObj->createTriangleMesh( inCreateParam ); } @@ -862,17 +861,21 @@ inline PxMeshScale getPxConvexMeshGeometryScale( const PxConvexMeshGeometry* inO inline void setPxConvexMeshGeometryScale( PxConvexMeshGeometry* inOwner, PxMeshScale inData) { inOwner->scale = inData; } inline PxConvexMesh * getPxConvexMeshGeometryConvexMesh( const PxConvexMeshGeometry* inOwner ) { return inOwner->convexMesh; } inline void setPxConvexMeshGeometryConvexMesh( PxConvexMeshGeometry* inOwner, PxConvexMesh * inData) { inOwner->convexMesh = inData; } +inline PxReal getPxConvexMeshGeometryMaxMargin( const PxConvexMeshGeometry* inOwner ) { return inOwner->maxMargin; } +inline void setPxConvexMeshGeometryMaxMargin( PxConvexMeshGeometry* inOwner, PxReal inData) { inOwner->maxMargin = inData; } inline PxConvexMeshGeometryFlags getPxConvexMeshGeometryMeshFlags( const PxConvexMeshGeometry* inOwner ) { return inOwner->meshFlags; } inline void setPxConvexMeshGeometryMeshFlags( PxConvexMeshGeometry* inOwner, PxConvexMeshGeometryFlags inData) { inOwner->meshFlags = inData; } PX_PHYSX_CORE_API PxConvexMeshGeometryGeneratedInfo::PxConvexMeshGeometryGeneratedInfo() : Scale( "Scale", setPxConvexMeshGeometryScale, getPxConvexMeshGeometryScale ) , ConvexMesh( "ConvexMesh", setPxConvexMeshGeometryConvexMesh, getPxConvexMeshGeometryConvexMesh ) + , MaxMargin( "MaxMargin", setPxConvexMeshGeometryMaxMargin, getPxConvexMeshGeometryMaxMargin ) , MeshFlags( "MeshFlags", setPxConvexMeshGeometryMeshFlags, getPxConvexMeshGeometryMeshFlags ) {} PX_PHYSX_CORE_API PxConvexMeshGeometryGeneratedValues::PxConvexMeshGeometryGeneratedValues( const PxConvexMeshGeometry* inSource ) :PxGeometryGeneratedValues( inSource ) ,Scale( inSource->scale ) ,ConvexMesh( inSource->convexMesh ) + ,MaxMargin( inSource->maxMargin ) ,MeshFlags( inSource->meshFlags ) { PX_UNUSED(inSource); @@ -1249,6 +1252,8 @@ inline PxReal getPxSceneDescFrictionOffsetThreshold( const PxSceneDesc* inOwner inline void setPxSceneDescFrictionOffsetThreshold( PxSceneDesc* inOwner, PxReal inData) { inOwner->frictionOffsetThreshold = inData; } inline PxReal getPxSceneDescCcdMaxSeparation( const PxSceneDesc* inOwner ) { return inOwner->ccdMaxSeparation; } inline void setPxSceneDescCcdMaxSeparation( PxSceneDesc* inOwner, PxReal inData) { inOwner->ccdMaxSeparation = inData; } +inline PxReal getPxSceneDescSolverOffsetSlop( const PxSceneDesc* inOwner ) { return inOwner->solverOffsetSlop; } +inline void setPxSceneDescSolverOffsetSlop( PxSceneDesc* inOwner, PxReal inData) { inOwner->solverOffsetSlop = inData; } inline PxSceneFlags getPxSceneDescFlags( const PxSceneDesc* inOwner ) { return inOwner->flags; } inline void setPxSceneDescFlags( PxSceneDesc* inOwner, PxSceneFlags inData) { inOwner->flags = inData; } inline PxCpuDispatcher * getPxSceneDescCpuDispatcher( const PxSceneDesc* inOwner ) { return inOwner->cpuDispatcher; } @@ -1269,6 +1274,8 @@ inline PxU32 getPxSceneDescNbContactDataBlocks( const PxSceneDesc* inOwner ) { r inline void setPxSceneDescNbContactDataBlocks( PxSceneDesc* inOwner, PxU32 inData) { inOwner->nbContactDataBlocks = inData; } inline PxU32 getPxSceneDescMaxNbContactDataBlocks( const PxSceneDesc* inOwner ) { return inOwner->maxNbContactDataBlocks; } inline void setPxSceneDescMaxNbContactDataBlocks( PxSceneDesc* inOwner, PxU32 inData) { inOwner->maxNbContactDataBlocks = inData; } +inline PxReal getPxSceneDescMaxBiasCoefficient( const PxSceneDesc* inOwner ) { return inOwner->maxBiasCoefficient; } +inline void setPxSceneDescMaxBiasCoefficient( PxSceneDesc* inOwner, PxReal inData) { inOwner->maxBiasCoefficient = inData; } inline PxU32 getPxSceneDescContactReportStreamBufferSize( const PxSceneDesc* inOwner ) { return inOwner->contactReportStreamBufferSize; } inline void setPxSceneDescContactReportStreamBufferSize( PxSceneDesc* inOwner, PxU32 inData) { inOwner->contactReportStreamBufferSize = inData; } inline PxU32 getPxSceneDescCcdMaxPasses( const PxSceneDesc* inOwner ) { return inOwner->ccdMaxPasses; } @@ -1301,6 +1308,7 @@ PX_PHYSX_CORE_API PxSceneDescGeneratedInfo::PxSceneDescGeneratedInfo() , BounceThresholdVelocity( "BounceThresholdVelocity", setPxSceneDescBounceThresholdVelocity, getPxSceneDescBounceThresholdVelocity ) , FrictionOffsetThreshold( "FrictionOffsetThreshold", setPxSceneDescFrictionOffsetThreshold, getPxSceneDescFrictionOffsetThreshold ) , CcdMaxSeparation( "CcdMaxSeparation", setPxSceneDescCcdMaxSeparation, getPxSceneDescCcdMaxSeparation ) + , SolverOffsetSlop( "SolverOffsetSlop", setPxSceneDescSolverOffsetSlop, getPxSceneDescSolverOffsetSlop ) , Flags( "Flags", setPxSceneDescFlags, getPxSceneDescFlags ) , CpuDispatcher( "CpuDispatcher", setPxSceneDescCpuDispatcher, getPxSceneDescCpuDispatcher ) , GpuDispatcher( "GpuDispatcher", setPxSceneDescGpuDispatcher, getPxSceneDescGpuDispatcher ) @@ -1311,6 +1319,7 @@ PX_PHYSX_CORE_API PxSceneDescGeneratedInfo::PxSceneDescGeneratedInfo() , SolverBatchSize( "SolverBatchSize", setPxSceneDescSolverBatchSize, getPxSceneDescSolverBatchSize ) , NbContactDataBlocks( "NbContactDataBlocks", setPxSceneDescNbContactDataBlocks, getPxSceneDescNbContactDataBlocks ) , MaxNbContactDataBlocks( "MaxNbContactDataBlocks", setPxSceneDescMaxNbContactDataBlocks, getPxSceneDescMaxNbContactDataBlocks ) + , MaxBiasCoefficient( "MaxBiasCoefficient", setPxSceneDescMaxBiasCoefficient, getPxSceneDescMaxBiasCoefficient ) , ContactReportStreamBufferSize( "ContactReportStreamBufferSize", setPxSceneDescContactReportStreamBufferSize, getPxSceneDescContactReportStreamBufferSize ) , CcdMaxPasses( "CcdMaxPasses", setPxSceneDescCcdMaxPasses, getPxSceneDescCcdMaxPasses ) , WakeCounterResetValue( "WakeCounterResetValue", setPxSceneDescWakeCounterResetValue, getPxSceneDescWakeCounterResetValue ) @@ -1336,6 +1345,7 @@ PX_PHYSX_CORE_API PxSceneDescGeneratedValues::PxSceneDescGeneratedValues( const ,BounceThresholdVelocity( inSource->bounceThresholdVelocity ) ,FrictionOffsetThreshold( inSource->frictionOffsetThreshold ) ,CcdMaxSeparation( inSource->ccdMaxSeparation ) + ,SolverOffsetSlop( inSource->solverOffsetSlop ) ,Flags( inSource->flags ) ,CpuDispatcher( inSource->cpuDispatcher ) ,GpuDispatcher( inSource->gpuDispatcher ) @@ -1346,6 +1356,7 @@ PX_PHYSX_CORE_API PxSceneDescGeneratedValues::PxSceneDescGeneratedValues( const ,SolverBatchSize( inSource->solverBatchSize ) ,NbContactDataBlocks( inSource->nbContactDataBlocks ) ,MaxNbContactDataBlocks( inSource->maxNbContactDataBlocks ) + ,MaxBiasCoefficient( inSource->maxBiasCoefficient ) ,ContactReportStreamBufferSize( inSource->contactReportStreamBufferSize ) ,CcdMaxPasses( inSource->ccdMaxPasses ) ,WakeCounterResetValue( inSource->wakeCounterResetValue ) diff --git a/PhysX_3.4/Source/PhysXMetaData/extensions/src/PxExtensionAutoGeneratedMetaDataObjects.cpp b/PhysX_3.4/Source/PhysXMetaData/extensions/src/PxExtensionAutoGeneratedMetaDataObjects.cpp index a84d98b2..08e0335e 100644 --- a/PhysX_3.4/Source/PhysXMetaData/extensions/src/PxExtensionAutoGeneratedMetaDataObjects.cpp +++ b/PhysX_3.4/Source/PhysXMetaData/extensions/src/PxExtensionAutoGeneratedMetaDataObjects.cpp @@ -34,7 +34,6 @@ // The source code for the generate was at one time checked into: // physx/PhysXMetaDataGenerator/llvm/tools/clang/lib/Frontend/PhysXMetaDataAction.cpp #include "PxExtensionMetaDataObjects.h" -#include "PxPhysicsAPI.h" #include "PxMetaDataCppPrefix.h" #include "PxExtensionsAPI.h" using namespace physx; |