Skip to content

Commit

Permalink
Fixed cube example that broke when we updated the cubicvr extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Kligman committed May 25, 2012
1 parent 37d0c72 commit 2c90499
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/cube/cube.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ document.addEventListener( "DOMContentLoaded", function( e ) {
space.add( new engine.simulation.Entity( "camera",
[
new engine.core.Transform( [0, 0, 0] ),
new cubicvr.Camera()
new cubicvr.Camera({
targeted: true
}),
new cubicvr.Light()
]
));
space.add( new engine.simulation.Entity( "light-center",
Expand Down

0 comments on commit 2c90499

Please sign in to comment.