C# Class CSharpGL.TranslateManipulater

Rotate model using arc-ball method.
Inheritance: Manipulater, IMouseHandler
Exibir arquivo Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
Bind ( ICamera camera, ICanvas canvas ) : void

TranslateManipulater ( RendererBase renderer, MouseButtons bindingMouseButtons = MouseButtons.Left ) : System

Rotate model using arc-ball method.

Unbind ( ) : void

Private Methods

Method Description
IMouseHandler ( object sender, MouseEventArgs e ) : void
SetBounds ( int width, int height ) : void
SetCamera ( vec3 position, vec3 target, vec3 up ) : void

Method Details

Bind() public method

public Bind ( ICamera camera, ICanvas canvas ) : void
camera ICamera
canvas ICanvas
return void

TranslateManipulater() public method

Rotate model using arc-ball method.
public TranslateManipulater ( RendererBase renderer, MouseButtons bindingMouseButtons = MouseButtons.Left ) : System
renderer RendererBase
bindingMouseButtons MouseButtons
return System

Unbind() public method

public Unbind ( ) : void
return void