Example #1
0
 public ShellViewModel(
     IObjLoaderFactory objLoaderFactory,
     IObjToMehsConverter converter,
     IMouseInputAdapter mouseInputAdapter,
     ITrackballCamera camera,
     IGuiToRelativeCoordinateTransformer guiToRelativeCoordinateTransformer)
 {
     _converter         = converter;
     _mouseInputAdapter = mouseInputAdapter;
     _camera            = camera;
     _guiToRelativeCoordinateTransformer = guiToRelativeCoordinateTransformer;
     _objLoaderFactory = objLoaderFactory;
 }
 public OpentkTrackballCameraControls(MouseInputProcessor mouseInputProcessor, ITrackballCamera trackballCamera)
 {
     _mouseInputProcessor = mouseInputProcessor;
     _trackballCamera = trackballCamera;
 }
 public OpentkTrackballCameraControls(MouseInputProcessor mouseInputProcessor, ITrackballCamera trackballCamera)
 {
     _mouseInputProcessor = mouseInputProcessor;
     _trackballCamera     = trackballCamera;
 }