|
@@ -102,10 +102,8 @@ module BABYLON {
|
|
|
private _w: number = 0.0;
|
|
|
private _minimum: Vector3 = Tmp.Vector3[0];
|
|
|
private _maximum: Vector3 = Tmp.Vector3[1];
|
|
|
- private _vertexWorld: Vector3 = Tmp.Vector3[2];
|
|
|
-
|
|
|
-
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* Creates a SPS (Solid Particle System) object.
|
|
|
* @param name the SPS name, this will be the underlying mesh name
|
|
@@ -669,7 +667,7 @@ module BABYLON {
|
|
|
}
|
|
|
if (this._computeBoundingBox) {
|
|
|
this.mesh._boundingInfo = new BoundingInfo(this._minimum, this._maximum);
|
|
|
- this.mesh._boundingInfo.boundingBox.setWorldMatrix(this.mesh._worldMatrix);
|
|
|
+ this.mesh._boundingInfo.update(this.mesh._worldMatrix);
|
|
|
}
|
|
|
this.afterUpdateParticles(start, end, update);
|
|
|
}
|
|
@@ -909,4 +907,4 @@ module BABYLON {
|
|
|
public afterUpdateParticles(start?: number, stop?: number, update?: boolean): void {
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|