apps.lightrays.raytracer.scene
Class CameraAnimation

java.lang.Object
  extended by apps.lightrays.raytracer.scene.CameraAnimation

public class CameraAnimation
extends java.lang.Object

The Class CameraAnimation.


Field Summary
 Vector endEyePosition
          The end eye position.
 int frames
          The frames.
 Vector startEyePosition
          The start eye position.
 
Constructor Summary
CameraAnimation()
          Instantiates a new camera animation.
 
Method Summary
 Vector getCameraPositionForFrame(int frame)
          Gets the camera position for frame.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endEyePosition

public Vector endEyePosition
The end eye position.


frames

public int frames
The frames.


startEyePosition

public Vector startEyePosition
The start eye position.

Constructor Detail

CameraAnimation

public CameraAnimation()
Instantiates a new camera animation.

Method Detail

getCameraPositionForFrame

public Vector getCameraPositionForFrame(int frame)
Gets the camera position for frame.

Parameters:
frame - the frame
Returns:
the camera position for frame