Package limn.render3d

Interface CameraController

All Known Implementing Classes:
FlyController, OrbitController

public interface CameraController
Translates pointer input into camera motion. A 3D viewport widget routes its drag/wheel events here. Implementations mutate the Camera they were given.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drag(float dx, float dy)
    Drag by (dx, dy) device-independent points (since the last event).
    void
    zoom(float amount)
    Wheel/zoom by amount (positive = zoom in).
  • Method Details

    • drag

      void drag(float dx, float dy)
      Drag by (dx, dy) device-independent points (since the last event).
    • zoom

      void zoom(float amount)
      Wheel/zoom by amount (positive = zoom in).