geometry.center() instead of deprecated function

Awesome project, I believe it may bring us one step closer to the web metaverse.
Here's my first small contribution.

Fixes  `THREE.GeometryUtils: .center() has been moved to Geometry. Use geometry.center() instead.`