blackberry/GamePlay — pull request #349 by mortoray (2012-08-13 14:23:02+00:00)
Title: Cubes

First, there are two changes to the core code:
- I made the new project script work on Linux, and work from any directory (I tried hard to keep cygwin compatiblity, but I can't check it)
- I added a new function to the Matrix class "Frustum" to match the classic glFrustumM function. Anybody migrating code to this platform might need it.

Then I added a sample called "cubes". Here I had a very particular application in mind and wanted to see how much I could use the framework to achieve it. As you can see, there are lots of direct calls to the gl functions as no suitable alternative could be found. In many cases I think some minor tweaks to the GamePlay API would help, in other cases a different approach is needed. Work in this direction could help us appeal to people writing custom game engines, effects, and games which simply don't fit in a classic scene based model.

Obviously give me feedback before you merge and let me know what must be changed first. The "cubes" part is completely isolated though, so there wouldn't be any danger in merging it (the two core code changes I indicated at the top of this comment).