History

removed deprecated code

Jeffrey Ventrella committed 13 years ago

Commit 1264b3c1 parent ea7e1661 file · +0 −18Browse files

Showing the changes to interface/src/ParticleSystem.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ParticleSystem.cpp+0−18
@@ -147,24 +147,6 @@ void ParticleSystem::killParticle(int p) { · 146 unmodified lines
147147 _numParticles --;
148148 }
149149
150−/*
151−void ParticleSystem::setOrangeBlueColorPalette() {
152−
153− for (unsigned int p = 0; p < _numParticles; p++) {
154−
155− float radian = ((float)p / (float)_numParticles) * PI_TIMES_TWO;
156− float wave = sinf(radian);
157−
158− float red = 0.5f + 0.5f * wave;
159− float green = 0.3f + 0.3f * wave;
160− float blue = 0.2f - 0.2f * wave;
161− float alpha = 1.0f;
162−
163− _particle[p].color = glm::vec4(red, green, blue, alpha);
164− }
165−}
166−*/
167−
168150
169151 void ParticleSystem::setParticleAttributes(int emitterIndex, ParticleAttributes attributes) {
170152