Changeset 4357 in orxonox.OLD for orxonox/trunk/src/subprojects
- Timestamp:
- May 28, 2005, 12:05:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4356 r4357 100 100 { 101 101 tmpEmit->setEmissionRate(atof(value)); 102 PRINT( 3)("EmissionRate set to %f\n", atof(value));102 PRINT(4)("EmissionRate set to %f\n", atof(value)); 103 103 } 104 104 else if (!strcmp(name, "Velocity")) 105 105 { 106 106 tmpEmit->setEmissionVelocity(atof(value)); 107 PRINT( 3)("Velocity set to %f\n", atof(value));107 PRINT(4)("Velocity set to %f\n", atof(value)); 108 108 } 109 109 else if(!strcmp(name, "SpreadAngle")) 110 110 { 111 111 tmpEmit->setSpread(atof(value)); 112 PRINT( 3)("SpreadAngle set to %f\n", atof(value));112 PRINT(4)("SpreadAngle set to %f\n", atof(value)); 113 113 } 114 114 else if(!strcmp(name, "EmitterType")) … … 120 120 else if (!strcmp(value, "EMITTER_CUBE")) 121 121 tmpEmit->setType(EMITTER_CUBE); 122 PRINT( 3)("EmitterType set to %s\n", value);122 PRINT(4)("EmitterType set to %s\n", value); 123 123 } 124 124 else if(!strcmp(name, "EmitterSize")) 125 125 { 126 126 tmpEmit->setSize(atof(value)); 127 PRINT( 3)("EmitterSize set to %f\n", atof(value));127 PRINT(4)("EmitterSize set to %f\n", atof(value)); 128 128 } 129 129 } … … 144 144 { 145 145 tmpSys->setRadius(atof(value), tmpSys->getEndRadius()); 146 PRINT( 3)("ParticleStartRadius set to %f\n", atof(value));146 PRINT(4)("ParticleStartRadius set to %f\n", atof(value)); 147 147 } 148 148 else if (!strcmp(name, "EndRadius")) 149 149 { 150 150 tmpSys->setRadius( tmpSys->getStartRadius(), atof(value)); 151 PRINT( 3)("ParticleEndRadius set to %f\n", atof(value));151 PRINT(4)("ParticleEndRadius set to %f\n", atof(value)); 152 152 } 153 153 … … 155 155 { 156 156 tmpSys->setLifeSpan(atof(value)); 157 PRINT( 3)("ParticleLifeSpan set to %f\n", atof(value));157 PRINT(4)("ParticleLifeSpan set to %f\n", atof(value)); 158 158 } 159 159 … … 161 161 { 162 162 tmpSys->setConserve(atof(value)); 163 PRINT( 3)("ParticleConserveFactor set to %f\n", atof(value));163 PRINT(4)("ParticleConserveFactor set to %f\n", atof(value)); 164 164 } 165 165 … … 173 173 tmpSys->setType(PARTICLE_SPRITE); 174 174 175 PRINT( 3)("ParticleType set to %s\n", value);175 PRINT(4)("ParticleType set to %s\n", value); 176 176 } 177 177 … … 179 179 { 180 180 tmpSys->setInheritSpeed(atof(value)); 181 PRINT( 3)("ParticleInheritSpeed set to %f\n", atof(value));181 PRINT(4)("ParticleInheritSpeed set to %f\n", atof(value)); 182 182 } 183 183 else if (!strcmp(name, "RandomColor"))
Note: See TracChangeset
for help on using the changeset viewer.