31 #ifndef PX_PHYSICS_NX_HEIGHTFIELD_GEOMETRY 32 #define PX_PHYSICS_NX_HEIGHTFIELD_GEOMETRY 44 #define PX_MIN_HEIGHTFIELD_XZ_SCALE 1e-8f 45 #define PX_MIN_HEIGHTFIELD_Y_SCALE (0.0001f / PxReal(0xFFFF)) 75 heightScale (heightScale_),
77 columnScale (columnScale_),
78 heightFieldFlags (
flags)
Definition: GuContactBuffer.h:37
A geometry type.
Definition: PxGeometry.h:51
float PxReal
Definition: PxSimpleTypes.h:78
Definition: PxGeometry.h:61
PxMeshGeometryFlags heightFieldFlags
Flags to specify some collision properties for the height field.
Definition: PxHeightFieldGeometry.h:118
A geometry object.
Definition: PxGeometry.h:75
Height field geometry class.
Definition: PxHeightFieldGeometry.h:56
A height field class.
Definition: PxHeightField.h:85
PxU16 flags
a set of Px1DConstraintFlags
Definition: PxConstraintDesc.h:110
PxPadding< 3 > paddingFromFlags
padding for mesh flags.
Definition: PxHeightFieldGeometry.h:120
PX_INLINE PxHeightFieldGeometry()
Definition: PxHeightFieldGeometry.h:59
PX_INLINE PxHeightFieldGeometry(PxHeightField *hf, PxMeshGeometryFlags flags, PxReal heightScale_, PxReal rowScale_, PxReal columnScale_)
Definition: PxHeightFieldGeometry.h:68
PxReal columnScale
The scaling factor for the height field in the column direction (z direction in local space)...
Definition: PxHeightFieldGeometry.h:113
PxHeightField * heightField
The height field data.
Definition: PxHeightFieldGeometry.h:98
#define PX_MIN_HEIGHTFIELD_Y_SCALE
Definition: PxHeightFieldGeometry.h:45
PX_INLINE bool isValid() const
Returns true if the geometry is valid.
Definition: PxHeightFieldGeometry.h:124
PxReal rowScale
The scaling factor for the height field in the row direction (x direction in local space)...
Definition: PxHeightFieldGeometry.h:108
PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxIsFinite(float f)
returns true if the passed number is a finite floating point number as opposed to INF...
Definition: PxMath.h:292
PX_FORCE_INLINE PxHeightFieldGeometry & heightField()
Definition: PxGeometryHelpers.h:163
#define PX_MIN_HEIGHTFIELD_XZ_SCALE
Definition: PxHeightFieldGeometry.h:44
PxReal heightScale
The scaling factor for the height field in vertical direction (y direction in local space)...
Definition: PxHeightFieldGeometry.h:103
#define PX_INLINE
Definition: PxPreprocessor.h:349