30 #ifndef PX_VEHICLE_TIREFRICTION_H 31 #define PX_VEHICLE_TIREFRICTION_H 53 eSURFACE_TYPE_UNKNOWN=0xffffffff
66 friend class VehicleSurfaceTypeHashTable;
70 eMAX_NB_SURFACE_TYPES=256
85 (
const PxU32 maxNbTireTypes,
const PxU32 maxNbSurfaceTypes);
102 (
const PxU32 nbTireTypes,
const PxU32 nbSurfaceTypes,
117 void setTypePairFriction(
const PxU32 surfaceType,
const PxU32 tireType,
const PxReal value);
126 PxReal getTypePairFriction(
const PxU32 surfaceType,
const PxU32 tireType)
const;
223 #endif //PX_VEHICLE_TIREFRICTION_H Definition: GuContactBuffer.h:37
PxReal * mPairs
Ptr to base address of a 2d PxReal array with dimensions [mNbSurfaceTypes][mNbTireTypes].
Definition: PxVehicleTireFriction.h:150
~PxVehicleDrivableSurfaceToTireFrictionPairs()
Definition: PxVehicleTireFriction.h:214
Friction for each combination of driving surface type and tire type.
Definition: PxVehicleTireFriction.h:62
PxU32 mType
Definition: PxVehicleTireFriction.h:55
Driving surface type. Each PxMaterial is associated with a corresponding PxVehicleDrivableSurfaceType...
Definition: PxVehicleTireFriction.h:49
float PxReal
Definition: PxSimpleTypes.h:78
PxU32 mNbSurfaceTypes
Number of different driving surface types.
Definition: PxVehicleTireFriction.h:183
PxU32 getMaxNbTireTypes() const
Return the maximum number of tire types.
Definition: PxVehicleTireFriction.h:140
PxU32 mMaxNbTireTypes
Maximum number of different tire types.
Definition: PxVehicleTireFriction.h:204
PxU32 mNbTireTypes
Number of different tire types.
Definition: PxVehicleTireFriction.h:197
PxU32 mMaxNbSurfaceTypes
Maximum number of different driving surface types.
Definition: PxVehicleTireFriction.h:190
#define PX_COMPILE_TIME_ASSERT(exp)
Definition: PxPreprocessor.h:434
const PxMaterial ** mDrivableSurfaceMaterials
Ptr to 1d array of material ptrs that is of length mNbSurfaceTypes.
Definition: PxVehicleTireFriction.h:162
Material class to represent a set of surface properties.
Definition: PxMaterial.h:143
PxVehicleDrivableSurfaceToTireFrictionPairs()
Definition: PxVehicleTireFriction.h:213
uint32_t PxU32
Definition: Px.h:48
PxU32 getMaxNbSurfaceTypes() const
Return the maximum number of surface types.
Definition: PxVehicleTireFriction.h:133
PxVehicleDrivableSurfaceType * mDrivableSurfaceTypes
Ptr to 1d array of PxVehicleDrivableSurfaceType that is of length mNbSurfaceTypes.
Definition: PxVehicleTireFriction.h:174