MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / setModelView

Method setModelView

cpp/5_Domain_Specific/smokeParticles/ParticleSystem.cpp:371–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371void ParticleSystem::setModelView(float *m)
372{
373 for (int i = 0; i < 16; i++) {
374 m_modelView.m[i] = m[i];
375 }
376}
377
378// dump particles to stdout for debugging
379void ParticleSystem::dumpParticles(uint start, uint count)

Callers 1

displayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected