From 0ce34b54e346444f2e01b9e493a7dc45bb7b805b Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Wed, 23 Nov 2016 13:36:03 +0100 Subject: [PATCH] fix camera --- src/game-lib-camera.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game-lib-camera.js b/src/game-lib-camera.js index 1421950..40f2edc 100644 --- a/src/game-lib-camera.js +++ b/src/game-lib-camera.js @@ -65,7 +65,7 @@ GameLib.D3.Camera.API = function( this.id = id; if (GameLib.D3.Utils.UndefinedOrNull(cameraType)) { - cameraType = GameLib.D3.Material.CAMERA_TYPE_PERSPECTIVE; + cameraType = GameLib.D3.Camera.CAMERA_TYPE_PERSPECTIVE; } this.cameraType = cameraType;