Browse Source

Merge pull request #281 from daner/shader-patch

Adjusted type of shaderPath in shaderMaterial.
deltakosh 11 years ago
parent
commit
485d549c9e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Babylon/Materials/babylon.shaderMaterial.ts

+ 2 - 2
Babylon/Materials/babylon.shaderMaterial.ts

@@ -1,6 +1,6 @@
 module BABYLON {
     export class ShaderMaterial extends Material {
-        private _shaderPath: string;
+        private _shaderPath: any;
         private _options: any;
         private _textures = new Array<Texture>();
         private _floats = new Array<number>();
@@ -12,7 +12,7 @@
         private _matrices = new Array<Matrix>();
         private _cachedWorldViewMatrix = new BABYLON.Matrix();
 
-        constructor(name: string, scene: Scene, shaderPath: string, options) {
+        constructor(name: string, scene: Scene, shaderPath: any, options: any) {
             super(name, scene);
             this._shaderPath = shaderPath;