提交 00e13718 编写于 作者: M Mugen87

InstancedMesh: Remove .type.

上级 1a50e61a
......@@ -16,7 +16,6 @@ export class InstancedMesh extends Mesh {
count: number;
instanceMatrix: BufferAttribute;
isInstancedMesh: true;
type: 'InstancedMesh';
setMatrixAt( index: number, matrix: Matrix4 ): void;
......
......@@ -13,8 +13,6 @@ function InstancedMesh( geometry, material, count ) {
this.count = count;
this.type = 'InstancedMesh';
}
InstancedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册