mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
changed function( to function (
This commit is contained in:
parent
26f3d22db7
commit
7e5eeb0a27
36 changed files with 209 additions and 209 deletions
|
|
@ -1,4 +1,4 @@
|
|||
define(['Lib/Vendor/Three', 'Game/Config/Settings'], function(Three, Settings) {
|
||||
define(['Lib/Vendor/Three', 'Game/Config/Settings'], function (Three, Settings) {
|
||||
|
||||
function CameraController(isOrthographic) {
|
||||
|
||||
|
|
@ -31,17 +31,17 @@ define(['Lib/Vendor/Three', 'Game/Config/Settings'], function(Three, Settings) {
|
|||
this.camera.position.z = 481;
|
||||
}
|
||||
|
||||
CameraController.prototype.getCamera = function(){
|
||||
CameraController.prototype.getCamera = function (){
|
||||
return this.camera;
|
||||
}
|
||||
|
||||
CameraController.prototype.setPosition = function(x, y){
|
||||
CameraController.prototype.setPosition = function (x, y){
|
||||
this.camera.position.x = x;
|
||||
this.camera.position.y = y;
|
||||
}
|
||||
|
||||
|
||||
CameraController.prototype.setZoom = function(z){
|
||||
CameraController.prototype.setZoom = function (z){
|
||||
this.camera.position.z = z;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue