Browse Source

Fixed annoying typings issue with webgl2

David Catuhe 8 years ago
parent
commit
a1d522ee82
3 changed files with 12882 additions and 12892 deletions
  1. 6441 6444
      dist/preview release/babylon.d.ts
  2. 6441 6444
      dist/preview release/babylon.module.d.ts
  3. 0 4
      src/babylon.webgl2.ts

File diff suppressed because it is too large
+ 6441 - 6444
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 6441 - 6444
dist/preview release/babylon.module.d.ts


+ 0 - 4
src/babylon.webgl2.ts

@@ -3,10 +3,6 @@
 // Definitions by: Nico Kemnitz <https://github.com/nkemnitz/>
 // Definitions by: Nico Kemnitz <https://github.com/nkemnitz/>
 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
 
 
-interface HTMLCanvasElement extends HTMLElement {
-    getContext(contextId: "webgl2" | "experimental-webgl2", contextAttributes?: WebGLContextAttributes): WebGL2RenderingContext | null;
-}
-
 interface ImageBitmap {
 interface ImageBitmap {
     readonly width: number;
     readonly width: number;
     readonly height: number;
     readonly height: number;