Package com.io7m.jcamera
Class JCameraFPSStyleSnapshots
java.lang.Object
com.io7m.jcamera.JCameraFPSStyleSnapshots
Functions to derive immutable snapshots of cameras.
-
Method Summary
Modifier and TypeMethodDescriptionstatic JCameraFPSStyleSnapshotinterpolate(JCameraFPSStyleSnapshot x, JCameraFPSStyleSnapshot y, double a) Linearly interpolate between two camera snapshots.static JCameraFPSStyleSnapshot
-
Method Details
-
interpolate
public static JCameraFPSStyleSnapshot interpolate(JCameraFPSStyleSnapshot x, JCameraFPSStyleSnapshot y, double a) Linearly interpolate between two camera snapshots.- Parameters:
x- The first snapshoty- The second snapshota- The interpolation value- Returns:
- A value between
xandy
-
of
- Parameters:
c- A camera- Returns:
- A snapshot of the given camera
-