Code Samples



Ray Tracer

This code runs the main portion of the Ray Tracing project I have on the projects page. It contains the portions that have to deal with ambient, diffuse, and phong lighting as well as the reflection and transmission of the light.

Download: RayTracer.cpp / RayTracer.h


Spring System

This code runs the Springs project I have on the projects page.

Download: SpringSystem.cpp / SpringSystem.h