| 58 | } |
| 59 | |
| 60 | void PvdSceneQueryCollector::release() |
| 61 | { |
| 62 | physx::pvdsdk::PvdDataStream* stream = mScene.getScenePvdClient().getDataStream(); |
| 63 | if(stream && stream->isConnected()) |
| 64 | { |
| 65 | const Ps::Array<PxGeometryHolder>& geoms = getPrevFrameGeometries(); |
| 66 | for(PxU32 k=0; k<geoms.size(); ++k) |
| 67 | stream->destroyInstance(&geoms[k]); |
| 68 | |
| 69 | clearGeometryArrays(); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | template<class QueryResultT, class PvdHitType> |
| 74 | static void collectBatchedHits(const QueryResultT* results, Ps::Array<PvdHitType>& accumulated, Ps::Array<PvdSqHit>& pvdSqHits, PxU32 nb, PxU32 startIdx, const char* arrayName) |
nothing calls this directly
no test coverage detected