Before we make too many new files I wanted to tidy things up a little bit.
Summary of changes:
Removed all the teapot related stuff from the Pacman class and renamed it to Player - should be simple to swap in a new player model later without many further changes.
Deleted an image file that wasn't being used.
Moved a bunch of things into new subdirectories.
If you look at the diff for CMakeLists.txt you'll see where all the C++ files went.
I also created top-level subdirectories for models/ (.obj files) and shaders/ (.glsl files).
Note that this means several #include paths were updated to grab things from parent/child directories.
If you want to explore the edited file structure to get a better sense of it, go here.
Before we make too many new files I wanted to tidy things up a little bit.
Summary of changes:
Pacman
class and renamed it toPlayer
- should be simple to swap in a new player model later without many further changes.CMakeLists.txt
you'll see where all the C++ files went.models/
(.obj
files) andshaders/
(.glsl
files).#include
paths were updated to grab things from parent/child directories.If you want to explore the edited file structure to get a better sense of it, go here.