Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] template problem


Chronological Thread 
  • From: Leena Kora <leenak@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [MANTA] template problem
  • Date: Tue, 03 Jul 2007 12:52:13 -0600

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