Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] template problem


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

What types of values could be used for ValueType?

James

Leena Kora wrote:
Hello,

I am coding for cloud texture and I have declared one data member as ValueType color_value. ValueType is a template value for color object. My problem is I want to do a subtraction operation as (Color(1,1,1)-color_value). Should I use any specific color class while declaring a data member or stick with template declaration. If I have to go for template declaration, then how to do that?
Thank you.
Leena Kora.







Archive powered by MHonArc 2.6.16.

Top of page