Ground Rules:
Here are some definitions and background information that you will find useful for the project.
public class Sphere implements Drawable { protected static float lx, ly, lz; public Sphere( ); public Sphere(float x, float y, float radius, int fillColor); public static void setLightDir(float x, float y, float z) { float t = 1.0f/(float) Math.sqrt(x*x + y*y + z*z); lx = x*t; ly = y*t; lz = z*t; } public void Draw(Raster raster); }