|
@@ -32,6 +32,8 @@ export class InstancedMesh extends AbstractMesh {
|
|
|
|
|
|
this._sourceMesh = source;
|
|
|
|
|
|
+ this._unIndexed = source._unIndexed;
|
|
|
+
|
|
|
this.position.copyFrom(source.position);
|
|
|
this.rotation.copyFrom(source.rotation);
|
|
|
this.scaling.copyFrom(source.scaling);
|
|
@@ -253,10 +255,6 @@ export class InstancedMesh extends AbstractMesh {
|
|
|
return this._sourceMesh._positions;
|
|
|
}
|
|
|
|
|
|
- public get _unIndexed(): boolean {
|
|
|
- return this._sourceMesh._unIndexed;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* This method recomputes and sets a new BoundingInfo to the mesh unless it is locked.
|
|
|
* This means the mesh underlying bounding box and sphere are recomputed.
|