make const

This commit is contained in:
David Rose 2007-02-16 22:37:18 +00:00
parent 0bd75ce89b
commit 5153a9c4c5
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ alpha_fill_val(xelval alpha) {
// Input must be a color image.
////////////////////////////////////////////////////////////////////
void PNMImage::
remix_channels(LMatrix4f &conv) {
remix_channels(const LMatrix4f &conv) {
int nchannels = get_num_channels();
nassertv((nchannels >= 3) && (nchannels <= 4));
for (int y = 0; y < get_y_size(); y++) {

View File

@ -83,7 +83,7 @@ PUBLISHED:
INLINE void fill(double red, double green, double blue);
INLINE void fill(double gray = 0.0);
void remix_channels(LMatrix4f &conv);
void remix_channels(const LMatrix4f &conv);
void fill_val(xelval red, xelval green, xelval blue);
INLINE void fill_val(xelval gray = 0);