maxogden/voxel-engine — pull request #47 by snagy (2013-02-20 07:38:22+00:00)
Title: Move camera and renderer into voxel-view

This moves the camera and renderer functionality out of voxel-engine and into the voxel-view module. This makes it easier to set up a view with multiple viewports, or different renderers.

Voxel-view becomes a dependency of voxel-engine, which uses it to set up a default view if a view isn't passed in to the game options.

The only interface change for voxel-engine is that camera is now view.camera and renderer is now view.renderer (though there are no remaining renderer references in voxel-engine).

I have a separate pull req for voxel-hello-world to match up to the correct camera.