Ignore:
Timestamp:
02/19/07 09:16:59 (17 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/vmi/src/color.cpp

    r2090 r2127  
    77using namespace VMI; 
    88 
    9 Color *VMI::initColors(GLuint numColors) { 
     9Color *VMI::initColors(int numColors) { 
    1010    Color *colors; 
    1111 
     
    2525} 
    2626 
    27 void VMI::fillAllColors(Color *colors, GLuint numColors, GLuint begin, GLuint end, GLubyte color) { 
    28     GLuint i; 
     27void VMI::fillAllColors(Color *colors, int numColors, int begin, int end, GLubyte color) { 
     28    int i; 
    2929 
    3030    if (end > numColors) return; 
     
    4040} 
    4141 
    42 void VMI::setColors(Color *colors, GLuint numPasses, GLuint begin, GLuint end) { 
    43     GLuint i, step = numPasses * MAX_NUM_COLORS; 
     42void VMI::setColors(Color *colors, int numPasses, int begin, int end) { 
     43    int i, step = numPasses * MAX_NUM_COLORS; 
    4444    GLubyte r = 1, 
    4545            g = 1, 
     
    8686} 
    8787 
    88 void VMI::setColors2(Color *colors, GLuint numColors, GLuint begin, GLuint end) { 
    89     GLuint i,  
     88void VMI::setColors2(Color *colors, int numColors, int begin, int end) { 
     89    int i,  
    9090        channel = 0, 
    9191        step = (numColors < MAX_NUM_COLORS) ? (MAX_NUM_COLORS / numColors) : 1; 
     
    133133} 
    134134 
    135 void VMI::setColors3(Color *colors, GLuint numColors, GLubyte color) { 
    136     GLuint i; 
     135void VMI::setColors3(Color *colors, int numColors, GLubyte color) { 
     136    int i; 
    137137     
    138138    for (i = 0; i < numColors; i++) { 
     
    148148} 
    149149 
    150 void VMI::setColors4(Color *colors, GLuint numColors) { 
    151     GLuint i, c = 1; 
     150void VMI::setColors4(Color *colors, int numColors) { 
     151    int i, c = 1; 
    152152     
    153153    for (i = 0; i < numColors; i++) { 
     
    164164} 
    165165 
    166 void VMI::viewColors(Color *colors, GLuint numColors) { 
    167     GLuint i; 
     166void VMI::viewColors(Color *colors, int numColors) { 
     167    int i; 
    168168 
    169169    printf("\n"); 
Note: See TracChangeset for help on using the changeset viewer.