public void UseGouraudShading() { GouraudSchadingMachine machine = new GouraudSchadingMachine(); machine.fogMachine = this.shadingMachine.fogMachine; shadingMachine = machine; }
public void UsePhongShading() { PhongShadinMachine machine = new PhongShadinMachine(); machine.fogMachine = this.shadingMachine.fogMachine; shadingMachine = machine; }
public void UseFlatShading() { FlatShadingMachine machine = new FlatShadingMachine(); machine.fogMachine = this.shadingMachine.fogMachine; shadingMachine = machine; }