private Zoom ( Canguro activeView, float step ) : void | ||
activeView | Canguro | Active view in scene panel |
step | float | Zoom step: How much the scene view is zoomed |
return | void |
private void Zoom(Canguro.View.GraphicView activeView, float step)
{
// Invoke arcball's zooming routine
activeView.ArcBallCtrl.ZoomStep(step);
// Update activeView view matrix
activeView.ViewMatrix = activeView.ArcBallCtrl.ViewMatrix;
}