Projektordner für das Team Deutsches Museum (FORUM).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

particleSystem.cpp 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //
  2. // particleSystem.cpp
  3. // emptyExample
  4. //
  5. // Created by Sebastian Holzki on 16.04.19.
  6. //
  7. #include "particleSystem.hpp"
  8. ParticleSystem::ParticleSystem(){
  9. }
  10. // -----------------------------------
  11. ParticleSystem::~ParticleSystem(){
  12. }
  13. // -----------------------------------
  14. void ParticleSystem::setup(){
  15. }
  16. // -----------------------------------------------
  17. void ParticleSystem::update(float deltaT, int visitorID, bool attracted){
  18. /*
  19. - wenn attracted, dann springe in Berechnung der Attraktion durch die vorhandenen Attraktoren
  20. */
  21. /*
  22. VisitorID stellt bekannten Besucher dar, also fertiges, auswertbares Profil.
  23. visitorID steuert die Optik des Partikelsystems, aktiviert also eine Art Preset
  24. z.B. Switch-Anweisung (visitorID 1-8):
  25. case 0: default mode, attraction
  26. case 1: load xml blabla1
  27. case 2: load xml blabla2
  28. ...
  29. */
  30. }
  31. // -----------------------------------------------
  32. void ParticleSystem::draw(){
  33. /*
  34. draw all the particles from the vector in the ParticleSystem
  35. */
  36. }