فهرست منبع

Merge pull request #146 from nicolas-obre/patch-1

Double semicolon
deltakosh 11 سال پیش
والد
کامیت
0a80d1cb5c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Babylon/babylon.engine.js

+ 1 - 1
Babylon/babylon.engine.js

@@ -111,7 +111,7 @@ var BABYLON = BABYLON || {};
     // Properties
     BABYLON.Engine.prototype.getAspectRatio = function (camera) {
         var viewport = camera.viewport;
-        return (this._renderingCanvas.width * viewport.width) / (this._renderingCanvas.height * viewport.height);;
+        return (this._renderingCanvas.width * viewport.width) / (this._renderingCanvas.height * viewport.height);
     };
 
     BABYLON.Engine.prototype.getRenderWidth = function () {