/** Ray tracer camera (observer) * Cylindrical Equal-Area version for fast pan * @author: Phil Gage */ class CylindricalCamera extends AbstractCamera { double xtable[]; double ytable[]; double ztable[]; CylindricalCamera (World world, int width, int height) { super (world, width, height); xtable = new double[width]; ytable = new double[height]; ztable = new double[width]; update(); } void update() { // Save equal-angle XZ values on circular arc of cylinder // double radius = width / fov; //uniform double radius = 1.0; double theta = az-fov/2.0; double delta = fov/width; for (int i=0; i