Hi everybody, this is my first post on these forums. I’m new to cpp, cinder and using xcode as an ide so theres a big possibility that my code is inefficient.
I was following the out of date tutorial posted on this site and got to the end of chapter 2 but noticed my application was running super slow (~10sec/frame) 40% cpu usage on computer. I know game engines can render millions of particles at a decent frame rate so I was wondering if anybody could point out a bottleneck or give me some insight on how to find cpu usage bottle necks in my code.
Below are links to the tutorial I followed and some links to the important parts of my code.
The coder is organized in a weird way right now, I figured Id learn cpp first and then figure out how to appropriately structure the code
Headers (contain Particle and ParticleController classes):