mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
repaired view
This commit is contained in:
parent
4205817e60
commit
3c16cfbc05
4 changed files with 31 additions and 27 deletions
|
|
@ -1,6 +1,7 @@
|
|||
define(['Vendor/Wrapper/Three', 'Chuck/Settings'], function(Three, Settings) {
|
||||
define(['Vendor/Three', 'Chuck/Settings'], function(Three, Settings) {
|
||||
|
||||
function CameraController() {
|
||||
/*
|
||||
this.camera = new Three.OrthographicCamera(
|
||||
-Settings.STAGE_WIDTH/2,
|
||||
Settings.STAGE_WIDTH/2,
|
||||
|
|
@ -8,11 +9,13 @@ define(['Vendor/Wrapper/Three', 'Chuck/Settings'], function(Three, Settings) {
|
|||
-Settings.STAGE_HEIGHT/2,
|
||||
-2000,
|
||||
1000
|
||||
);
|
||||
);*/
|
||||
|
||||
this.camera = new Three.OrthographicCamera( 600 / - 2, 600 / 2, 400 / 2, 400 / - 2, - 2000, 1000 );
|
||||
|
||||
//this.camera = new Three.PerspectiveCamera(45, 600 / 400, 1, 1000);
|
||||
|
||||
this.camera.position.z = 481;
|
||||
//this.camera.position.z = 481;
|
||||
}
|
||||
|
||||
CameraController.prototype.getCamera = function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue