MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / NvFlexExtDestroyAsset

Function NvFlexExtDestroyAsset

extensions/flexExtContainer.cpp:792–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790}
791
792void NvFlexExtDestroyAsset(NvFlexExtAsset* asset)
793{
794 delete[] asset->particles;
795 delete[] asset->springIndices;
796 delete[] asset->springCoefficients;
797 delete[] asset->springRestLengths;
798 delete[] asset->triangleIndices;
799 delete[] asset->shapeIndices;
800 delete[] asset->shapeOffsets;
801 delete[] asset->shapeCenters;
802 delete[] asset->shapeCoefficients;
803
804 delete asset;
805}
806
807

Callers 5

CreateSoftBodyMethod · 0.85
CreatePlasticBodyMethod · 0.85
CreateRigidBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected