Why do you work with geometry of points, instead of the object of points? Find the center of the object and move your camera to it, not the other way round.
Why do you work with geometry of points, instead of the object of points? Find the center of the object and move your camera to it, not the other way round.