Package com.io7m.jcamera

# Class JCameraSphericalSnapshots

java.lang.Object
com.io7m.jcamera.JCameraSphericalSnapshots

public final class JCameraSphericalSnapshots extends Object
Functions to derive immutable snapshots of cameras.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static JCameraSphericalSnapshot`
  `interpolate(JCameraSphericalSnapshot x, JCameraSphericalSnapshot y, double a)`
  Linearly interpolate between two camera snapshots.
  `static JCameraSphericalSnapshot`
  `of(JCameraSphericalReadableType camera)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### interpolate

    public static JCameraSphericalSnapshot interpolate(JCameraSphericalSnapshot x, JCameraSphericalSnapshot y, double a)
    Linearly interpolate between two camera snapshots.
    Parameters:
      `x` - The first snapshot
      `y` - The second snapshot
      `a` - The interpolation value
    Returns:
      A value between `x` and `y`

  - ### of

    public static JCameraSphericalSnapshot of(JCameraSphericalReadableType camera)
    Parameters:
      `camera` - A camera
    Returns:
      A snapshot of the given camera