public CSGDiff(Primative inA, Primative inB) { Render = (inA.Render || inB.Render); Shadow = (inA.Shadow || inB.Shadow); primA = inA; primB = inB; Bounds = new AllignedBox(primA.Bounds); }
public Sphere() { Render = true; Shadow = true; trans.MakeTrans(0, 0, 0); inv.MakeTrans(0, 0, 0); Point origin = new Point(0, 0, 0); Bounds = new AllignedBox(origin, 2, 2, 2); }