Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

rc Namespace Reference


Functions

void parameter (GLenum, Color)


Function Documentation

void rc::parameter GLenum  ,
Color 
 

Definition at line 57 of file regcombine.cpp.

References Color::alpha(), Color::blue(), glx::glCombinerParameterfvNV, Color::green(), and Color::red().

Referenced by SetupCombinersDecalAndBumpMap().

00058 {
00059     float f[4];
00060     f[0] = color.red();
00061     f[1] = color.green();
00062     f[2] = color.blue();
00063     f[3] = color.alpha();
00064     glx::glCombinerParameterfvNV(which, f);
00065 }


Generated on Sat Jan 14 22:33:46 2006 for Celestia by  doxygen 1.4.1