All Packages Class Hierarchy This Package Previous Next Index
Interface benno.asg.Surface
- public interface Surface
-
trace(SpacePoint, SpacePoint)
- traces from an eye through a point on the screen , returning
a spacepoint object representing where we intersect that
surface, or null if there is no intersection.
-
traceback(SpacePoint, SpacePoint)
- traces from a surface point on (usually another) surface,
to the eye, returning
true if this surface is intersected by that ray.
trace
public abstract SpacePoint trace(SpacePoint eye,
SpacePoint screen)
- traces from an eye through a point on the screen , returning
a spacepoint object representing where we intersect that
surface, or null if there is no intersection.
traceback
public abstract boolean traceback(SpacePoint surf,
SpacePoint eye)
- traces from a surface point on (usually another) surface,
to the eye, returning
true if this surface is intersected by that ray.
false if this surface is not intersected by that ray.
All Packages Class Hierarchy This Package Previous Next Index