var flow = require('../../..');
var $ = flow.$;
var EmptyModel = flow.Model;
var ThreeJSScene = flow.scenes.ThreeJSScene;

var AxesView = flow.views.AxesView;


var CubeView = require('./CubeView');

var EventCaptureController = require('./EventCaptureController');


var threeJSSceneOptions = {
  cameraPosition: {
    x: 1, y: 2, z: 1
  }
};
var threeJSScene = new ThreeJSScene($('#viewport'), threeJSSceneOptions);


var emptyModel = new EmptyModel();
new AxesView(emptyModel, threeJSScene);
var c1 = new CubeView(emptyModel, threeJSScene);
var c2 = new CubeView(emptyModel, threeJSScene, {
  color: 0xff6666, 
  position: {x: 0.6, y: 0, z: 0},
  size: 0.2
});

new EventCaptureController(c1, c2);

var flow = require('../../..');
var $ = flow.$;
var EmptyModel = flow.Model;
var ThreeJSScene = flow.scenes.ThreeJSScene;

var AxesView = flow.views.AxesView;

var CubeView = require('./CubeView');

var EventCaptureController = require('./EventCaptureController');


var threeJSSceneOptions = {
  cameraPosition: {
    x: 1, y: 2, z: 1
  }
};
var threeJSScene = new ThreeJSScene($('#viewport'), threeJSSceneOptions);


var emptyModel = new EmptyModel();
new AxesView(emptyModel, threeJSScene);
var c1 = new CubeView(emptyModel, threeJSScene);
var c2 = new CubeView(emptyModel, threeJSScene, {
  color: 0xff6666, 
  position: {x: 0.6, y: 0, z: 0},
  size: 0.2
});

new EventCaptureController(c1, c2);

remove debug