1 package graphics.raytracers.rmiRaytracer.raytracer; 2 3 // 4 // Generic target object to be traced 5 // 6 7 interface Target { 8 public abstract double intersectTest(Vec R0, Vec R1, int object); 9 10 public abstract int shade(int object, Vec R1, double t[]); 11 12 public abstract void setScene(Targets s); 13 14 public abstract boolean isBelongingToScene(); 15 } 16