|
@@ -205,7 +205,7 @@
|
|
|
|
|
|
geometry.computeBoundingBox();
|
|
geometry.computeBoundingBox();
|
|
var boundingBox = geometry.boundingBox;
|
|
var boundingBox = geometry.boundingBox;
|
|
- var center = boundingBox.center();
|
|
|
|
|
|
+ var center = boundingBox.getCenter();
|
|
|
|
|
|
if ( position === undefined ) {
|
|
if ( position === undefined ) {
|
|
|
|
|