AMI 794L: Interactive Graphics: Critical Code