Переглянути джерело

Merge pull request #283 from daner/clearcolor-fix

Adjusted  property 'clearColor' on class 'scene' to type 'any'.
deltakosh 11 роки тому
батько
коміт
d43717bc4c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Babylon/babylon.scene.ts

+ 1 - 1
Babylon/babylon.scene.ts

@@ -15,7 +15,7 @@
 
         // Members
         public autoClear = true;
-        public clearColor = new BABYLON.Color3(0.2, 0.2, 0.3);
+        public clearColor: any = new BABYLON.Color3(0.2, 0.2, 0.3);
         public ambientColor = new BABYLON.Color3(0, 0, 0);
         public beforeRender: () => void;
         public afterRender: () => void;