Package limn.render3d
Class FlyController
java.lang.Object
limn.render3d.FlyController
- All Implemented Interfaces:
CameraController
A first-person "fly" camera: dragging looks around (yaw/pitch about the eye,
pitch clamped near the poles) and the wheel flies forward/back along the view
direction. Unlike
OrbitController the eye moves through the scene rather
than circling a fixed target. Seeded from the camera's current eye/target.-
Constructor Summary
ConstructorsConstructorDescriptionFlyController(Camera camera) Free-look control ofcamera: drag aims, keys move. -
Method Summary
-
Constructor Details
-
FlyController
Free-look control ofcamera: drag aims, keys move.
-
-
Method Details
-
moveSpeed
Scene units travelled per movement step. -
drag
public void drag(float dx, float dy) Description copied from interface:CameraControllerDrag by(dx, dy)device-independent points (since the last event).- Specified by:
dragin interfaceCameraController
-
zoom
public void zoom(float amount) Description copied from interface:CameraControllerWheel/zoom byamount(positive = zoom in).- Specified by:
zoomin interfaceCameraController
-