nullarbor.camera
Class LinearPath

public class LinearPath
implements nullarbor.camera.CameraPath
Constructor Detail

LinearPath

public LinearPath(javax.vecmath.Point3d start,
                  javax.vecmath.Point3d end)
A linear camera path.
Parameters:
start - Point3d the position of the camera at t = 0
end - Point3d the position of the camera at t = 1

Method Detail

getPoint

public javax.vecmath.Point3d getPoint(double t)
Interpolates linearly between start and end points.
Parameters:
t - double time
Returns:
Point3d