Logo Search packages:      
Sourcecode: blender version File versions

btHeightfieldTerrainShape::btHeightfieldTerrainShape ( int  heightStickWidth,
int  heightStickLength,
void *  heightfieldData,
btScalar  heightScale,
btScalar  minHeight,
btScalar  maxHeight,
int  upAxis,
PHY_ScalarType  heightDataType,
bool  flipQuadEdges 
)

preferred constructor

This constructor supports a range of heightfield data types, and allows for a non-zero minimum height value. heightScale is needed for any integer-based heightfield data types.

Definition at line 23 of file btHeightfieldTerrainShape.cpp.

{
      initialize(heightStickWidth, heightStickLength, heightfieldData,
                 heightScale, minHeight, maxHeight, upAxis, hdt,
                 flipQuadEdges);
}


Generated by  Doxygen 1.6.0   Back to index