瀏覽代碼

Fixed annoying typings issue with webgl2

David Catuhe 8 年之前
父節點
當前提交
a1d522ee82
共有 3 個文件被更改,包括 12882 次插入12892 次删除
  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: https://github.com/DefinitelyTyped/DefinitelyTyped
 
-interface HTMLCanvasElement extends HTMLElement {
-    getContext(contextId: "webgl2" | "experimental-webgl2", contextAttributes?: WebGLContextAttributes): WebGL2RenderingContext | null;
-}
-
 interface ImageBitmap {
     readonly width: number;
     readonly height: number;