Class CameraState

java.lang.Object
de.grogra.flyingcamera.CameraState
All Implemented Interfaces:
Cloneable

public class CameraState extends Object implements Cloneable
  • Constructor Details

    • CameraState

      public CameraState(Camera c)
    • CameraState

      public CameraState(Matrix4d s, float width)
    • CameraState

      public CameraState(Vector3d position, Vector3d direction)
  • Method Details

    • clone

      public CameraState clone()
      Overrides:
      clone in class Object
    • changePosition

      public CameraState changePosition(Vector3d position)
    • changeDirection

      public CameraState changeDirection(Vector3d direction)
    • getPosition

      public Vector3d getPosition()
    • setPosition

      public void setPosition(Vector3d position)
    • getDirection

      public Vector3d getDirection()
    • setDirection

      public void setDirection(Vector3d direction)
    • getMatrix4d

      public Matrix4d getMatrix4d()
    • setMatrixPosition

      public void setMatrixPosition(Vector3d p)
    • setMatrixDirection

      public void setMatrixDirection(Vector3d direction)