Mr.doob преди 5 години
родител
ревизия
ec815830c1
променени са 2 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 0 2
      src/Three.d.ts
  2. 2 2
      src/renderers/WebGLRenderer.d.ts

+ 0 - 2
src/Three.d.ts

@@ -172,8 +172,6 @@ export * from './renderers/webgl/WebGLShadowMap';
 export * from './renderers/webgl/WebGLState';
 export * from './renderers/webgl/WebGLState';
 export * from './renderers/webgl/WebGLTextures';
 export * from './renderers/webgl/WebGLTextures';
 export * from './renderers/webgl/WebGLUniforms';
 export * from './renderers/webgl/WebGLUniforms';
-//export * from './renderers/webgl/WebGLUtils';
-export * from './renderers/webvr/WebVRManager';
 export * from './constants';
 export * from './constants';
 export * from './Three.Legacy';
 export * from './Three.Legacy';
 
 

+ 2 - 2
src/renderers/WebGLRenderer.d.ts

@@ -15,7 +15,7 @@ import { Object3D } from './../core/Object3D';
 import { Material } from './../materials/Material';
 import { Material } from './../materials/Material';
 import { Fog } from './../scenes/Fog';
 import { Fog } from './../scenes/Fog';
 import { ToneMapping, ShadowMapType, CullFace } from '../constants';
 import { ToneMapping, ShadowMapType, CullFace } from '../constants';
-import { WebXRManager } from '../renderers/webvr/WebXRManager';
+import { WebXRManager } from '../renderers/webxr/WebXRManager';
 import { RenderTarget } from './webgl/WebGLRenderLists';
 import { RenderTarget } from './webgl/WebGLRenderLists';
 import { Geometry } from './../core/Geometry';
 import { Geometry } from './../core/Geometry';
 import { BufferGeometry } from './../core/BufferGeometry';
 import { BufferGeometry } from './../core/BufferGeometry';
@@ -319,7 +319,7 @@ export class WebGLRenderer implements Renderer {
 	): void;
 	): void;
 
 
 	/**
 	/**
-	 * A build in function that can be used instead of requestAnimationFrame. For WebVR projects this function must be used.
+	 * A build in function that can be used instead of requestAnimationFrame. For WebXR projects this function must be used.
 	 * @param callback The function will be called every available frame. If `null` is passed it will stop any already ongoing animation.
 	 * @param callback The function will be called every available frame. If `null` is passed it will stop any already ongoing animation.
 	 */
 	 */
 	setAnimationLoop( callback: Function | null ): void;
 	setAnimationLoop( callback: Function | null ): void;