Hey guys, I have successfully installed the newest Thor library with 2.2 SFML and I wanted to test some particle examples as it is the most interesting thing for me, but I have had hit a wall and need little help.
In Thor there is class called "UniversalEmitter" and in this class we have public member called "setParticlePosition". Last time if you wanted to create a randomize position around a circle you would have to type
emitter.setParticlePosition( thor::Distributions::circle(center, radius) );
but today "thor::Distributions" doesn't exist anymore and there is only "thor::Distributions". Documentation about the latter is a bit enigmatic for me and I cannot guess proper syntax to have the same effect. Is anybody familiar with it?
I would be grateful for any kind of help this, Lafoniz