CODViewport::SizeToModel

BOOL CODViewport::SizeToModel(void)

Changes the viewport size to match the size of the model.

Defined in: OdViewport.cpp

Return Value

void

Comments

This function sets the viewport size so that the entire model is visible in the viewport. This prevents the viewport from clipping parts of the model when it is rendered. It doesn't prevent the viewport from being clipped to the bounds of a window.