MasDennis/Rajawali — pull request #192 by jayschwa (2012-10-09 01:47:20+00:00)
Title: Simplify color picking and fix depth problem

Fixes #160 by adding a depth component. Implementation copied from PostProcessingRenderer. Note that `glDelete[...]buffers()` is not called. There was no pre-existing `destroy()` method and I am not sure if it is necessary.

The color matching and selection was also simplified to remove loops. The color value is now just an index for the list of registered objects.

Please review.