Canguro.Commands.View.ZoomStep.Zoom C# (CSharp) Method

Zoom() private method

Makes zoom based in an arcball property and a step value for unification with the rest of zoom commands
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;
        }