From c91d807e1c23ca4a96d8b04bb2c8754966b04339 Mon Sep 17 00:00:00 2001 From: "J.C" Date: Thu, 17 May 2018 13:34:54 +0800 Subject: [PATCH] fixed typing error & argument type error. --- types/three/three-core.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index a7f7950a48..a188fa796a 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -6244,8 +6244,8 @@ export class WebGLDepthBuffer { constructor(gl: any, state: any); setTest(depthTest: boolean): void; - sertMask(depthMask: number): void; - setFunc(depthFunc: Function): void; + setMask(depthMask: number): void; + setFunc(depthFunc: number): void; setLocked(lock: boolean): void; setClear(depth: any): void; reset(): void; @@ -6255,8 +6255,8 @@ export class WebGLStencilBuffer { constructor(gl: any, state: any); setTest(stencilTest: boolean): void; - sertMask(stencilMask: number): void; - setFunc(stencilFunc: Function, stencilRef: any, stencilMask: number): void; + setMask(stencilMask: number): void; + setFunc(stencilFunc: number, stencilRef: any, stencilMask: number): void; setOp(stencilFail: any, stencilZFail: any, stencilZPass: any): void; setLocked(lock: boolean): void; setClear(stencil: any): void;