From 95882537d4ea4b3cec1004aa83a1faf010e57366 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Fri, 29 Jan 2016 15:59:49 +0100 Subject: [PATCH] 2 more interfaces with wrong functions. --- threejs/three.d.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index 54c1e25932..c0bc0d8014 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -5000,8 +5000,6 @@ declare module THREE { } interface WebGLShadowMapInstance{ - new ( _renderer: Renderer, _lights: any[], _objects: any[] ): void; - enabled: boolean; autoUpdate: boolean; needsUpdate: boolean; @@ -5011,12 +5009,11 @@ declare module THREE { render( scene: Scene ): void; } interface WebGLShadowMapStatic{ - ( _renderer: Renderer, _lights: any[], _objects: any[] ): WebGLStateInstance; + new ( _renderer: Renderer, _lights: any[], _objects: any[] ): WebGLStateInstance; } export var WebGLShadowMap: WebGLShadowMapStatic; interface WebGLStateInstance{ - new ( gl: any, extensions: any, paramThreeToGL: Function ): void; init(): void; initAttributes(): void; enableAttribute(attribute: string): void; @@ -5041,7 +5038,7 @@ declare module THREE { reset(): void; } interface WebGLStateStatic{ - ( gl: any, extensions: any, paramThreeToGL: Function ): WebGLStateInstance; + new ( gl: any, extensions: any, paramThreeToGL: Function ): WebGLStateInstance; } export var WebGLState: WebGLStateStatic;