소스 검색

Examples: Clean up.

Mugen87 4 년 전
부모
커밋
90f492dd35
4개의 변경된 파일21개의 추가작업 그리고 18개의 파일을 삭제
  1. 18 14
      examples/jsm/deprecated/Geometry.d.ts
  2. 1 1
      examples/jsm/math/Capsule.js
  3. 2 2
      examples/jsm/math/Octree.js
  4. 0 1
      examples/jsm/modifiers/TessellateModifier.d.ts

+ 18 - 14
examples/jsm/deprecated/Geometry.d.ts

@@ -1,17 +1,19 @@
-import { Vector3 } from './../math/Vector3';
-import { Color } from './../math/Color';
-import { Face3 } from './Face3';
-import { Vector2 } from './../math/Vector2';
-import { Vector4 } from './../math/Vector4';
-import { Box3 } from './../math/Box3';
-import { Sphere } from './../math/Sphere';
-import { Matrix4 } from './../math/Matrix4';
-import { BufferGeometry } from './BufferGeometry';
-import { Matrix } from './../math/Matrix3';
-import { Mesh } from './../objects/Mesh';
-import { Bone } from './../objects/Bone';
-import { AnimationClip } from './../animation/AnimationClip';
-import { EventDispatcher } from './EventDispatcher';
+import {
+	Vector3,
+	Color,
+	Face3,
+	Vector2,
+	Vector4,
+	Box3,
+	Sphere,
+	Matrix4,
+	BufferGeometry,
+	Matrix,
+	Mesh,
+	Bone,
+	AnimationClip,
+	EventDispatcher
+} from '../../../src/Three';
 
 /**
  * @deprecated Use {@link Face3} instead.
@@ -251,6 +253,8 @@ export class Geometry extends EventDispatcher {
 
 	sortFacesByMaterialIndex(): void;
 
+	toBufferGeometry(): BufferGeometry;
+
 	toJSON(): any;
 
 	/**

+ 1 - 1
examples/jsm/math/Capsule.js

@@ -1,6 +1,6 @@
 import {
 	Vector3
-} from "../../../build/three.module.js";
+} from '../../../build/three.module.js';
 
 
 var Capsule = ( function () {

+ 2 - 2
examples/jsm/math/Octree.js

@@ -5,8 +5,8 @@ import {
 	Sphere,
 	Triangle,
 	Vector3
-} from "../../../build/three.module.js";
-import { Capsule } from "../math/Capsule.js";
+} from '../../../build/three.module.js';
+import { Capsule } from '../math/Capsule.js';
 
 
 var Octree = ( function () {

+ 0 - 1
examples/jsm/modifiers/TessellateModifier.d.ts

@@ -1,5 +1,4 @@
 import {
-	Geometry,
 	BufferGeometry
 } from '../../../src/Three';