// // particleSystem.cpp // emptyExample // // Created by Sebastian Holzki on 16.04.19. // #include "particleSystem.hpp" ParticleSystem::ParticleSystem(){ } // ----------------------------------- ParticleSystem::~ParticleSystem(){ } // ----------------------------------- void ParticleSystem::setup(){ } // ----------------------------------------------- void ParticleSystem::update(float deltaT, int visitorID, bool attracted){ /* - wenn attracted, dann springe in Berechnung der Attraktion durch die vorhandenen Attraktoren */ /* VisitorID stellt bekannten Besucher dar, also fertiges, auswertbares Profil. visitorID steuert die Optik des Partikelsystems, aktiviert also eine Art Preset z.B. Switch-Anweisung (visitorID 1-8): case 0: default mode, attraction case 1: load xml blabla1 case 2: load xml blabla2 ... */ } // ----------------------------------------------- void ParticleSystem::draw(){ /* draw all the particles from the vector in the ParticleSystem */ }