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

Method initRenderObjects

physx/samples/samplebase/PhysXSample.cpp:2171–2178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2169}
2170
2171void PhysXSample::initRenderObjects()
2172{
2173 PxSceneWriteLock scopedLock(*mScene);
2174 for (PxU32 i = 0; i < mRenderActors.size(); ++i)
2175 {
2176 mRenderActors[i]->update(0.0f);
2177 }
2178}
2179
2180void PhysXSample::updateRenderObjectsSync(float dtime)
2181{

Callers 1

switchSampleMethod · 0.80

Calls 2

sizeMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected