org.sunflow.core.camera

Class FisheyeLens

Implemented Interfaces:
CameraLens, RenderObject

public class FisheyeLens
extends java.lang.Object
implements CameraLens

Method Summary

Ray
getRay(float x, float y, int imageWidth, int imageHeight, double lensX, double lensY, double time)
boolean
update(ParameterList pl, SunflowAPI api)

Method Details

getRay

public Ray getRay(float x,
                  float y,
                  int imageWidth,
                  int imageHeight,
                  double lensX,
                  double lensY,
                  double time)
Specified by:
getRay in interface CameraLens

update

public boolean update(ParameterList pl,
                      SunflowAPI api)
Specified by:
update in interface RenderObject