robsilv/three.dart — pull request #6 by nelsonsilva (2012-08-28 18:09:51+00:00)
Title: WebGLRenderer

I've been working on getting the WebGLRenderer to work and this is a preliminary working version with the cube example.

There is still some work to do but if you could merge this I've got a couple more pull requests to send with orthographic camera and curves (you can look at my dev branch).

After having these merged i'd like to update to the M1 sintax.

My code used OTB (one true bracket) which is what I'm used to and recommended in the Dart style guide.
I've also started removing unnecessary getters and setters.

I've added a "hackish" __data map to a couple of object to handle the runtime addition of properties to objects. I've also added a couple of adapters to hide this implementation detail (see the bottom of WebGLRenderer.dart) so if we come up with a nicer way to get this working it's all concentrated on the adapters / decorators.

We should also identify a couple of new interfaces to be implemented by Materials like HasSkinning, etc... to avoid comparing and casting to types or dynamic at runtime.