diff --git a/src/graphics/graphics-library/texture/texture-options.ts b/src/graphics/graphics-library/texture/texture-options.ts index 46f8d1b..0b8d62f 100644 --- a/src/graphics/graphics-library/texture/texture-options.ts +++ b/src/graphics/graphics-library/texture/texture-options.ts @@ -1,6 +1,14 @@ export enum WrapOptions { CLAMP_TO_EDGE = 'CLAMP_TO_EDGE', + + /** + * On WebGL it only work with power of 2 texture sizes. + */ REPEAT = 'REPEAT', + + /** + * On WebGL it only work with power of 2 texture sizes. + */ MIRRORED_REPEAT = 'MIRRORED_REPEAT', } diff --git a/src/helper/array.ts b/src/helper/array.ts index d73a76d..05b416b 100644 --- a/src/helper/array.ts +++ b/src/helper/array.ts @@ -1,16 +1,3 @@ -/** @internal */ -declare global { - interface Array { - x: number; - y: number; - } - - interface Float32Array { - x: number; - y: number; - } -} - /** @internal */ const setIndexAlias = (name: string, index: number, type: any) => { if (!Object.prototype.hasOwnProperty.call(type.prototype, name)) {