Przeglądaj źródła

Fixed annoying typings issue with webgl2

David Catuhe 8 lat temu
rodzic
commit
a1d522ee82
3 zmienionych plików z 12882 dodań i 12892 usunięć
  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

Plik diff jest za duży
+ 6441 - 6444
dist/preview release/babylon.d.ts


Plik diff jest za duży
+ 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;