Permalink
Browse files

update to support new API

  • Loading branch information...
NicolasRannou committed Aug 15, 2013
1 parent 20f47d2 commit 3cdfa705256ec1a1cba4c0bcc923d486ea47dee7
Showing with 3 additions and 0 deletions.
  1. +3 −0 07/demo.js
View
@@ -5,13 +5,16 @@ window.onload = function() {
// .. attach the renderer to a <div> container using its id
r1.container = 'r1';
r1.init();
r1.camera.position = [0, 0, -100];
r1.camera.up = [0, 1, 0];
var r2 = new X.renderer3D();
// .. attach the renderer to a <div> container using its id
r2.container = 'r2';
r2.init();
// .. change the view of this renderer
r2.camera.position = [100, 0, 0];
r2.camera.up = [0, 1, 0];
var r3 = new X.renderer3D();
r3.container = 'r3';

0 comments on commit 3cdfa70

Please sign in to comment.