floodlightRGB[1] = Image_LinearFloatFromsRGBFloat(floodlightRGB[1]);
floodlightRGB[2] = Image_LinearFloatFromsRGBFloat(floodlightRGB[2]);
}
- VectorNormalize(floodlightRGB,floodlightRGB);
+ ColorNormalize(floodlightRGB,floodlightRGB);
}
/*
}
/* normalize it */
- VectorNormalize( sun->color, sun->color );
+ ColorNormalize( sun->color, sun->color );
/* scale color by brightness */
GetTokenAppend( shaderText, qfalse );
si->floodlightRGB[1] = Image_LinearFloatFromsRGBFloat(si->floodlightRGB[1]);
si->floodlightRGB[2] = Image_LinearFloatFromsRGBFloat(si->floodlightRGB[2]);
}
- VectorNormalize(si->floodlightRGB, si->floodlightRGB);
+ ColorNormalize(si->floodlightRGB, si->floodlightRGB);
}
/* jal: q3map_nodirty : skip dirty */