I need to boot the entire model got completely into the viewport.
Because if the model has a large size, it does not got completely into the viewport, for example:
To solve this problem I need set the desired camera position:
camera.setPosition( new BABYLON.Vector3(216, 93, -17) );
for example: test page
How do I automatically calculate the coordinates of the camera in which the model will got completely into the viewport?