Use vertex-rs for cube example

Generate the cube geometry using vertex-rs rather then hard coded into the source.

I'm a bit conflicted on this change, I'm not sure it actually simplifies the logic as much as I had hoped it would.