MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / createHeightField

Method createHeightField

physx/source/geomutils/src/GuMeshFactory.cpp:566–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566PxHeightField* GuMeshFactory::createHeightField(void* heightFieldMeshData)
567{
568 HeightField* np;
569 PX_NEW_SERIALIZED(np, HeightField)(*this, *reinterpret_cast<Gu::HeightFieldData*>(heightFieldMeshData));
570 if(np)
571 addHeightField(np);
572
573 return np;
574}
575
576PxHeightField* GuMeshFactory::createHeightField(PxInputStream& stream)
577{

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45
decRefCountMethod · 0.45

Tested by

no test coverage detected