MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getHeight

Method getHeight

Engine/source/terrain/terrData.cpp:596–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596F32 TerrainBlock::getHeight( const Point2I &pos )
597{
598 U16 ht = mFile->getHeight( pos.x, pos.y );
599 return fixedToFloat( ht );
600}
601
602void TerrainBlock::updateGridMaterials( const Point2I &minPt, const Point2I &maxPt )
603{

Callers 5

getNormalMethod · 0.45
getSmoothNormalMethod · 0.45
getNormalAndHeightMethod · 0.45
terrData.cppFile · 0.45

Calls 2

fixedToFloatFunction · 0.85
findSquareMethod · 0.80

Tested by

no test coverage detected