Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] template problem


Chronological Thread 
  • From: James Bigler <bigler@sci.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [MANTA] template problem
  • Date: Mon, 02 Jul 2007 13:21:40 -0600

This will be a problem, because the two classes have different APIs. What you described could be done like this given the right API:

ValueType::white() - color_value

I'm not sure if RGBColor has a white function, but it could be added easily if it's not there.

James

Leena Kora wrote:
ValueType can have color values like Color() or RGB_Color().





Archive powered by MHonArc 2.6.16.

Top of page