From 1264b3ce66bbf2d7c91308d1f0378261e600b448 Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Wed, 17 Jul 2013 17:00:18 -0700 Subject: [PATCH] removed deprecated code --- interface/src/ParticleSystem.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/interface/src/ParticleSystem.cpp b/interface/src/ParticleSystem.cpp index 076c8f6983..0b0b7a7389 100644 --- a/interface/src/ParticleSystem.cpp +++ b/interface/src/ParticleSystem.cpp @@ -147,24 +147,6 @@ void ParticleSystem::killParticle(int p) { _numParticles --; } -/* -void ParticleSystem::setOrangeBlueColorPalette() { - - for (unsigned int p = 0; p < _numParticles; p++) { - - float radian = ((float)p / (float)_numParticles) * PI_TIMES_TWO; - float wave = sinf(radian); - - float red = 0.5f + 0.5f * wave; - float green = 0.3f + 0.3f * wave; - float blue = 0.2f - 0.2f * wave; - float alpha = 1.0f; - - _particle[p].color = glm::vec4(red, green, blue, alpha); - } -} -*/ - void ParticleSystem::setParticleAttributes(int emitterIndex, ParticleAttributes attributes) {