|
@@ -10,7 +10,7 @@
|
|
constructor(public minimum: Vector3, public maximum: Vector3) {
|
|
constructor(public minimum: Vector3, public maximum: Vector3) {
|
|
var distance = BABYLON.Vector3.Distance(minimum, maximum);
|
|
var distance = BABYLON.Vector3.Distance(minimum, maximum);
|
|
|
|
|
|
- this.center = BABYLON.Vector3.Lerp(minimum, maximum, 0.5);;
|
|
|
|
|
|
+ this.center = BABYLON.Vector3.Lerp(minimum, maximum, 0.5);
|
|
this.radius = distance * 0.5;
|
|
this.radius = distance * 0.5;
|
|
|
|
|
|
this.centerWorld = BABYLON.Vector3.Zero();
|
|
this.centerWorld = BABYLON.Vector3.Zero();
|
|
@@ -61,4 +61,4 @@
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|