Constants - invTWO_PI = 0.1591549430918953358; = const...

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

View Full Document Right Arrow Icon
#ifndef __CONSTANTS__ #define __CONSTANTS__ # #include <stdlib.h> #include "RGBColor.h" # const double PI = 3.1415926535897932384; const double TWO_PI = 6.2831853071795864769; const double PI_ON_180 = 0.0174532925199432957; const double invPI = 0.3183098861837906715; const double
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: invTWO_PI = 0.1591549430918953358; = const double kEpsilon = 0.0001; const double kHugeValue = 1.0E10; = const RGBColor black(0.0); const RGBColor white(1.0); const RGBColor red(1.0, 0.0, 0.0); r const float invRAND_MAX = 1.0 / (float)RAND_MAX; i #endif...
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