mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
more clean up
This commit is contained in:
parent
1264b3ce66
commit
9c2ea6e7e4
2 changed files with 1 additions and 12 deletions
|
@ -73,7 +73,7 @@ using namespace std;
|
|||
static char STAR_FILE[] = "https://s3-us-west-1.amazonaws.com/highfidelity/stars.txt";
|
||||
static char STAR_CACHE_FILE[] = "cachedStars.txt";
|
||||
|
||||
static const bool TESTING_PARTICLE_SYSTEM = true;
|
||||
static const bool TESTING_PARTICLE_SYSTEM = false;
|
||||
|
||||
static const int BANDWIDTH_METER_CLICK_MAX_DRAG_LENGTH = 6; // farther dragged clicks are ignored
|
||||
|
||||
|
|
|
@ -271,17 +271,6 @@ void ParticleSystem::updateParticle(int p, float deltaTime) {
|
|||
_particle[p].age += deltaTime;
|
||||
}
|
||||
|
||||
/*
|
||||
void ParticleSystem::setCollisionSphere(int e, glm::vec3 position, float radius) {
|
||||
|
||||
int lifeStage = 0;
|
||||
|
||||
_emitter[e].particleAttributes[lifeStage].usingCollisionSphere = true;
|
||||
_emitter[e].particleAttributes[lifeStage].collisionSpherePosition = position;
|
||||
_emitter[e].particleAttributes[lifeStage].collisionSphereRadius = radius;
|
||||
}
|
||||
*/
|
||||
|
||||
void ParticleSystem::setEmitterBaseParticle(int emitterIndex, bool showing ) {
|
||||
|
||||
_emitter[emitterIndex].baseParticle.alive = true;
|
||||
|
|
Loading…
Reference in a new issue