Tracer - if (world_ptr) world_ptr = NULL; } //

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "Tracer.h" # // -------------------------------------------------------------------- default constructor c Tracer::Tracer(void) : world_ptr(NULL) {} { // -------------------------------------------------------------------- constructor / Tracer::Tracer(World* _worldPtr) : world_ptr(_worldPtr) {} { // -------------------------------------------------------------------- destructor / Tracer::~Tracer(void) {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: if (world_ptr) world_ptr = NULL; } // -------------------------------------------------------------------- trace_ray / RGBColor R Tracer::trace_ray(const Ray& ray) const { return (black); } // -------------------------------------------------------------------- trace_ray / RGBColor R Tracer::trace_ray(const Ray ray, const int depth) const { return (black); }...
View Full Document

This note was uploaded on 02/19/2010 for the course CS 390 taught by Professor Hu during the Spring '10 term at Westminster UT.

Ask a homework question - tutors are online