| 139 | } |
| 140 | |
| 141 | void ParticleSphereCPUApp::draw() |
| 142 | { |
| 143 | gl::clear( Color( 0, 0, 0 ) ); |
| 144 | gl::setMatricesWindowPersp( getWindowSize(), 60.0f, 1.0f, 10000.0f ); |
| 145 | gl::enableDepthRead(); |
| 146 | gl::enableDepthWrite(); |
| 147 | |
| 148 | mParticleBatch->draw(); |
| 149 | } |
| 150 | |
| 151 | CINDER_APP( ParticleSphereCPUApp, RendererGl, [] ( App::Settings *settings ) { |
| 152 | settings->setWindowSize( 1280, 720 ); |
nothing calls this directly
no test coverage detected