Méthode | Description | |
---|---|---|
ArcBallManipulater ( MouseButtons bindingMouseButtons = MouseButtons.Left ) : System |
Rotate model using arc-ball method.
|
|
Bind ( ICamera camera, ICanvas canvas ) : void |
|
|
GetRotationMatrix ( ) : CSharpGL.mat4 |
|
|
Unbind ( ) : void |
|
Méthode | Description | |
---|---|---|
GetArcBallPosition ( int x, int y ) : vec3 | ||
IMouseHandler ( object sender, |
||
SetBounds ( int width, int height ) : void | ||
SetCamera ( vec3 position, vec3 target, vec3 up ) : void |
public ArcBallManipulater ( MouseButtons bindingMouseButtons = MouseButtons.Left ) : System | ||
bindingMouseButtons | MouseButtons | |
Résultat | System |
public Bind ( ICamera camera, ICanvas canvas ) : void | ||
camera | ICamera | |
canvas | ICanvas | |
Résultat | void |
public GetRotationMatrix ( ) : CSharpGL.mat4 | ||
Résultat | CSharpGL.mat4 |