- Timestamp:
- Apr 18, 2006, 8:47:10 PM (19 years ago)
- Location:
- trunk/src/lib/particles
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r7333 r7334 279 279 280 280 PRINTF(4)("Precaching %s::%s %d seconds %d timesPerSecond\n", this->getClassName(), this->getName(), seconds, ticksPerSecond); 281 this->debug();282 281 for (unsigned int i = 0; i < seconds*ticksPerSecond; i++) 283 282 this->tick(1.0/(float)ticksPerSecond); -
trunk/src/lib/particles/quick_animation.cc
r7333 r7334 288 288 289 289 290 290 /** 291 * @brief compares two QuickKeyFrames with their positions. 292 * @param key1 the first keyframe 293 * @param key2 the second keyframe 294 * @returns true, if the key1.position < key2.position. 295 */ 291 296 bool QuickAnimation::QuickKeyFrame::sortPositionPredicate(const QuickKeyFrame& key1, const QuickKeyFrame& key2) 292 297 { … … 294 299 } 295 300 301 /** 302 * @brief compares two QuickKeyFrames with their values. 303 * @param key1 the first keyframe 304 * @param key2 the second keyframe 305 * @returns true, if the key1.value < key2.value. 306 */ 296 307 bool QuickAnimation::QuickKeyFrame::sortValuePredicate(const QuickKeyFrame& key1, const QuickKeyFrame& key2) 297 308 { -
trunk/src/lib/particles/quick_animation.h
r7333 r7334 48 48 } 49 49 50 /**50 /** 51 51 * @brief returns the value of the animation at a certain position 52 52 * @param position the position to get the value from :) 53 53 * @returns the calculated Value. 54 */54 */ 55 55 float QuickAnimation::getValue(float position) const 56 56 { … … 59 59 60 60 void debug() const; 61 61 62 private: 62 63 void rebuild();
Note: See TracChangeset
for help on using the changeset viewer.