From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/helper-classes/RDGE/src/core/script/camera.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/helper-classes/RDGE/src/core/script/camera.js') diff --git a/js/helper-classes/RDGE/src/core/script/camera.js b/js/helper-classes/RDGE/src/core/script/camera.js index da9aff3d..e85fe593 100755 --- a/js/helper-classes/RDGE/src/core/script/camera.js +++ b/js/helper-classes/RDGE/src/core/script/camera.js @@ -208,9 +208,9 @@ RDGE.camera = function () { this.getFTR = function () { var fovyRad = (this.persp.fov * 0.5) * Math.PI / 180.0; return [ - Math.tan(fovyRad) * this.persp.far, - Math.tan(fovyRad / this.persp.aratio) * this.persp.far, - this.persp.far]; + Math.tan(fovyRad) * this.persp.far, + Math.tan(fovyRad / this.persp.aratio) * this.persp.far, + this.persp.far]; }; this.attachCameraToNode = function (node) { @@ -219,7 +219,7 @@ RDGE.camera = function () { }; -/** Camera Manager +/** Camera Manager * This class is used to manage the active camera. It provides functionality * for getting and setting the active camera, as well as providing stack operations * to switch to and from multiple cameras. -- cgit v1.2.3