How to center the mesh horizontally on the screen?

How do I center the mesh horizontally on the screen for all the 3d models? Edit fiddle - JSFiddle - Code Playground

I also want to center the model vertically on the screen but that’s not a priority. If you happen to know how to do that, please share that as well. Thanks!

Hi!
Is this acceptable option?

    plyLoader.load(path, function (geometry) {
    	geometry.center(); // add this line
   	    geometry.computeVertexNormals();
        
        var material = new THREE.MeshPhongMaterial(parameters);
        mesh = new THREE.Mesh(geometry, material);

        //mesh.position.set(position.x, position.y, position.z);
        //mesh.rotation.set(rotation.x, rotation.y, rotation.z);
        mesh.castShadow = true;
        mesh.receiveShadow = true;

        completeLoad(mesh);

    });

Hi, thank you for your response. That does seem to center it horizontally on the screen. Any ideas on how to do the same but vertically as well? I guess I could just modify the up axis value in camera.position.set(x, y, z). Is that the right way to do it?

Update #1
Unfortunately, geometry.center() has moved all my objects in the mesh (not included in JS Fiddle). Do I do this for all the objects: object.geometry.center()?