Removed struct particledata, replaced by class particle. Changed gen.cpp now working with std::vector and class particle. Raytracer accepts class particle when handling data. Added needed methods to coSphere.cpp/.h. Fixed issue with loading/saving in GUI. Added frequency in imagenozzle.
In GUI: Added minimum and deviation to be displayed and changed properly. Added an Intersection button, so not needed nozzles can't be changed by accident. Added autoremove button, so particles won't disappear if needed.
Removed struct particledata, replaced by class particle. Changed gen.cpp now working with std::vector and class particle. Raytracer accepts class particle when handling data. Added needed methods to coSphere.cpp/.h. Fixed issue with loading/saving in GUI. Added frequency in imagenozzle. In GUI: Added minimum and deviation to be displayed and changed properly. Added an Intersection button, so not needed nozzles can't be changed by accident. Added autoremove button, so particles won't disappear if needed.