}} void ParticleSystem::renderEmitter(int e, float size) { glm::vec3 v = _emitter[e].direction * size; glColor3f(0.4f, 0.4, 0.8); glBegin(GL_LINES); glVertex3f(_emitter[e].position.x, _emitter[e].position.y, _emitter[e].position.z); glVertex3f(_emitter[e].position.x + v.x, _emitter[e].position.y + v.y, _emitter[e].position.z + v.z); glEnd();} Lines 501–518 of 518. Previous lines
} } void ParticleSystem::renderEmitter(int e, float size) { glm::vec3 v = _emitter[e].direction * size; glColor3f(0.4f, 0.4, 0.8); glBegin(GL_LINES); glVertex3f(_emitter[e].position.x, _emitter[e].position.y, _emitter[e].position.z); glVertex3f(_emitter[e].position.x + v.x, _emitter[e].position.y + v.y, _emitter[e].position.z + v.z); glEnd(); }