Added a gitignore so I'm not pushing OSX's annoying .DS_Store directories or my little working dir.
Fix use of glVertexPointer and glNormalPointer to happen outside of the (possible) implied glBegin glEnd of glfw. Also fixed the normal offset calculation to use correct stride. Added an initial CPP version that still needs a lot of work.
Put back the correct call to glBufferData that just passes the structure address.
Have eliminated all of the global mutable variables coming from the C version. Still some work to do to see what else can be "C++ified".
Purely formatting changes to make the file consistent.
Finish off the removal of global variables and fix some typos I made in the constexpr's that meant the CPP was doing less particles than the C version. Now matches.
Updated with how to build the CPP version under ubunut.
Merge pull request #2 from danielhams/master

First CPP version plus little bug fix to C version