Rings
Version 0.3

threeD.raytracer.camera
Interface Camera

All Known Implementing Classes:
OrthographicCamera

public interface Camera

Implementations of the Camera interface provide a method for calculating viewing rays.


Method Summary
 Ray rayAt(double i, double j, int screenWidth, int screenHeight)
           
 

Method Detail

rayAt

public Ray rayAt(double i,
                 double j,
                 int screenWidth,
                 int screenHeight)
Parameters:
i - X coordinate of pixel.
j - Y coordinate of pixel.
screenWidth - Width of image.
screenHeight - Height of image.
Returns:
A Ray object that represents the viewing ray at (i, j)

Rings
Version 0.3

Copyright 2003-05 Mike Murray