I hope this isn't the wrong forum to post in. A search of the forum shows that most people post code review requests here, but mods, if there's a specific place for this, please relocate it
Anyhow, I started programming this January. I've mostly used online tutorials, and I fear I've likely picked up some bad habits. There are also probably huge gaping holes in my programming knowledge. I really wanted to post a code review to hopefully correct any of these missteps before they become too ingrained and habitual. There are probably tons of things I'm completely inadvertently doing wrong despite the code being functional.
Most of this year, I've been making little 2d games, but this is my first foray into 3D programming and OpenGL. It's a little space sim that generates about 900 solar systems with orbiting planets with atmospheric compositions, and things like that. At this point, it's mostly just a homemade engine, controls, a clickable UI and things of that nature, with very little "game" involved.
It's a lot of code to go through, and I totally don't expect anyone to go through it all. But, the Main.cpp file and the Planet.cpp file together should contain a pretty good sampling of anything I may be doing wrong. For the love of god though, don't look at the controls file It's the only one I haven't cleaned up yet. It's functional, but full of all my commented out ramblings, inefficiencies, etc. I know it's the first one listed, but unless you want to be dismayed at humanity, I advice against it. The header file is even still bloated with tons of unused variables
Again, I'm very new to this, and mostly want a heads up about serious mistakes I may be making, any advice for ways to make things more efficient, or any pointers for a direction to head in from here. I appreciate advice of any sort though.
The code is up at:https://github.com/Hobogames/GameTest
I look forward to any help or insights.
Cheers and thanks in advance.