public World() { Camera = null; BackgroundColor = new RGBColor(); Tracer = null; AmbientLight=new Ambient(); }
public ShadeRec(World world) { HasHitObject = false; Hitpoint = new Point3d(); Normal = new Normal(); LocalHitPoint = new Point3d(); Ray = new Ray(); Depth = 0; Direction = new Vector3d(); T = 0; //Chapter 3 only Color = new RGBColor(0, 0, 0); //Black World = world; }
public ShadeRec(World world) { HasHitObject = false; Hitpoint = new Point3d(); Normal = new Normal(); LocalHitPoint = new Point3d(); Ray=new Ray(); Depth = 0; Direction = new Vector3d(); T = 0; //Chapter 3 only Color = new RGBColor(0, 0, 0); //Black World = world; }
public void DisplayPixel(int row, int col, RGBColor color) { throw new NotImplementedException(); }