浏览代码

remove the raycast method declaration of instancedmesh.d.ts and remove the description in the document

webglzhang 5 年之前
父节点
当前提交
c65fca6397
共有 3 个文件被更改,包括 0 次插入14 次删除
  1. 0 6
      docs/api/en/objects/InstancedMesh.html
  2. 0 6
      docs/api/zh/objects/InstancedMesh.html
  3. 0 2
      src/objects/InstancedMesh.d.ts

+ 0 - 6
docs/api/en/objects/InstancedMesh.html

@@ -64,12 +64,6 @@
 			Get the local transformation matrix of the defined instance.
 		</p>
 
-		<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
-		<p>
-			Get intersections between a casted ray and this insatncedmesh.
-			[page:Raycaster.intersectObject] will call this method, but the results are not ordered.
-		</p>
-
 		<h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3>
 		<p>
 			[page:Integer index]: The index of an instance. Values have to be in the range [0, count].

+ 0 - 6
docs/api/zh/objects/InstancedMesh.html

@@ -64,12 +64,6 @@
 			Get the local transformation matrix of the defined instance.
 		</p>
 
-		<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
-		<p>
-			Get intersections between a casted ray and this insatncedmesh.
-			[page:Raycaster.intersectObject] will call this method, but the results are not ordered.
-		</p>
-
 		<h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3>
 		<p>
 			[page:Integer index]: The index of an instance. Values have to be in the range [0, count].

+ 0 - 2
src/objects/InstancedMesh.d.ts

@@ -4,7 +4,6 @@ import { Material } from './../materials/Material';
 import { BufferAttribute } from './../core/BufferAttribute';
 import { Mesh } from './Mesh';
 import { Matrix4 } from './../math/Matrix4';
-import { Intersection, Raycaster } from "../core/Raycaster";
 
 export class InstancedMesh extends Mesh {
 
@@ -21,7 +20,6 @@ export class InstancedMesh extends Mesh {
 	getMatrixAt( index: number, matrix: Matrix4 ): void;
 	setMatrixAt( index: number, matrix: Matrix4 ): void;
 
-	raycast( raycaster: Raycaster, intersects: Intersection[] ): void;
 
 
 }