Uses of Class
tracer.Traceable

Uses of Traceable in tracer
 

Subclasses of Traceable in tracer
 class Plane
          3D flat, onbounded, traceable thingy, represented by normal vector and distance from the origin
 class Sphere
          A 3D roundish traceable thingy with a center and a radius
 class Triangle
           
 

Fields in tracer declared as Traceable
 Traceable IntersectionInfo.object
           
 

Methods in tracer with parameters of type Traceable
 boolean Ray.hit(Traceable ignoreObject)
          Checks if the ray (origin + t*direction) hits the scene with 0 <= t <= 1.
 Vec3 Ray.trace(Traceable currentObject, int maxReflectionsLeft)
          Does the actual `raytracing'.
 

Constructors in tracer with parameters of type Traceable
IntersectionInfo(Vec3 location, Vec3 normal, float distance, Traceable object, float u, float v)
          Constructor indicating there was an intersection.