sets a 0'd quad into the quads array
| 473 | |
| 474 | // sets a 0'd quad into the quads array |
| 475 | void ParticleBatchNode::disableParticle(int particleIndex) |
| 476 | { |
| 477 | V3F_C4B_T2F_Quad* quad = &((_textureAtlas->getQuads())[particleIndex]); |
| 478 | quad->br.vertices.x = quad->br.vertices.y = quad->tr.vertices.x = quad->tr.vertices.y = quad->tl.vertices.x = |
| 479 | quad->tl.vertices.y = quad->bl.vertices.x = quad->bl.vertices.y = 0.0f; |
| 480 | } |
| 481 | |
| 482 | // ParticleBatchNode - add / remove / reorder helper methods |
| 483 |