Changeset 6627 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 20, 2006, 2:43:55 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/quaternion.h
r6616 r6627 43 43 Quaternion (float m[4][4]); 44 44 /** turns a rotation along an axis into a Quaternion @param angle: the amount of radians to rotate @param axis: the axis to rotate around */ 45 inline Quaternion (float angle, const Vector& axis) { w = cos(angle/2 ); v = axis * sin(angle/2); }45 inline Quaternion (float angle, const Vector& axis) { w = cos(angle/2.0); v = axis * sin(angle/2.0); } 46 46 Quaternion (const Vector& dir, const Vector& up); 47 47 Quaternion (float roll, float pitch, float yaw); -
trunk/src/lib/particles/particle_emitter.cc
r6625 r6627 42 42 this->setEmissionRate(emissionRate); 43 43 this->setEmissionVelocity(velocity); 44 45 44 } 46 45 … … 79 78 this->setEmissionRate(PARTICLE_EMITTER_DEFAULT_EMISSION_RATE); 80 79 this->setSize(PARTICLE_EMITTER_DEFAULT_SIZE); 80 this->setEmissionMomentum(0); 81 this->setEmissionVelocity(1.0); 82 this->setSpread(M_PI); 81 83 82 84 this->system = NULL;
Note: See TracChangeset
for help on using the changeset viewer.