未验证 提交 92f08b4c 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17934 from linbingquan/dev-ts

TS: Fix BufferGeometry.d.ts Plane.d.ts
......@@ -33,7 +33,7 @@ export class BufferGeometry extends EventDispatcher {
uuid: string;
name: string;
type: string;
index: BufferAttribute;
index: BufferAttribute | null;
attributes: {
[name: string]: BufferAttribute | InterleavedBufferAttribute;
};
......
......@@ -24,7 +24,7 @@ export class Plane {
distanceToSphere( sphere: Sphere ): number;
projectPoint( point: Vector3, target: Vector3 ): Vector3;
orthoPoint( point: Vector3, target: Vector3 ): Vector3;
intersectLine( line: Line3, target: Vector3 ): Vector3;
intersectLine( line: Line3, target: Vector3 ): Vector3 | undefined;
intersectsLine( line: Line3 ): boolean;
intersectsBox( box: Box3 ): boolean;
intersectsSphere( sphere: Sphere ): boolean;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册