I need to understend how to move camera distance to fill the screen with an object. This is a common function in graphics program:
Camera.fit(cube)
How to do ? Thank you very much
Hello,
Try TGLCamera.ZoomAll(aSceneBuffer: TGLSceneBuffer)
TGLCamera.ZoomAll(aSceneBuffer: TGLSceneBuffer)
Lefju
Log in to post a comment.
I need to understend how to move camera distance to fill the screen with an object.
This is a common function in graphics program:
How to do ?
Thank you very much
Hello,
Try
TGLCamera.ZoomAll(aSceneBuffer: TGLSceneBuffer)
Lefju