From 2c90499ed13613074b52a74d6999c45159b27f3f Mon Sep 17 00:00:00 2001 From: Alan Kligman Date: Fri, 25 May 2012 15:31:35 -0400 Subject: [PATCH] Fixed cube example that broke when we updated the cubicvr extension. --- examples/cube/cube.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/cube/cube.js b/examples/cube/cube.js index 7f219cc..b9814c1 100644 --- a/examples/cube/cube.js +++ b/examples/cube/cube.js @@ -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",