Browse Source

Fix typings

sebavan 6 years ago
parent
commit
b575e96c2c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Engines/engine.ts

+ 1 - 1
src/Engines/engine.ts

@@ -3708,7 +3708,7 @@ declare type RenderTargetTexture = import("Materials/Textures/renderTargetTextur
                 return;
             }
 
-            this._gl.uniformMatrix4fv(uniform, false, matrix.toArray());
+            this._gl.uniformMatrix4fv(uniform, false, matrix.toArray() as Float32Array);
         }
 
         /**