I am sure this is definitely a newbie question,
but where should the two source class(Sources & Particles) codes mentioned in the article (http://wiki.openframeworks.cc/index.php?title=Basic-particle-system) go?
A new header file? or … ?
I am sure this is definitely a newbie question,
but where should the two source class(Sources & Particles) codes mentioned in the article (http://wiki.openframeworks.cc/index.php?title=Basic-particle-system) go?
A new header file? or … ?
Into a .h file. They can be in one or in separate files, just make sure you import them both into your app like:
include "Particles.h"
include "Sources.h"