Source.cpp
// function for converting all the hex colors from t_models.h and ct_models.h to hsl values

function for converting all the hex colors from t_models.h and ct_models.h to hsl values
function for converting all the hex colors from t_models . h and ct_models . h to hsl values
bool LoadHsl(pplayer_model ct_model, pplayer_model t_model)
{
	for (int i = 0; i < NUM_MODEL_COLORS; i++) 
	{
		stRGB rgb = HexToRgb(ct_model_colors[i]);
		ct_model->hslModel[i] = RgbToHsl(rgb);
	}
	for (int i = 0; i < NUM_MODEL_COLORS; i++) 
	{
		stRGB rgb = HexToRgb(t_model_colors[i]);
		t_model->hslModel[i] = RgbToHsl(rgb);
	}
	return true;
}
bool LoadHsl ( pplayer_model ct_model , pplayer_model t_model ) { for ( int i = 0 ; i < NUM_MODEL_COLORS ; i ++ ) { stRGB rgb = HexToRgb ( ct_model_colors [ i ] ) ; ct_model -> hslModel [ i ] = RgbToHsl ( rgb ) ; } for ( int i = 0 ; i < NUM_MODEL_COLORS ; i ++ ) { stRGB rgb = HexToRgb ( t_model_colors [ i ] ) ; t_model -> hslModel [ i ] = RgbToHsl ( rgb ) ; } return true ; }
function for converting all the hex colors from t_models.h and ct_models.h to hsl values
function for converting all the hex colors from t_models . h and ct_models . h to hsl values
// filing ct_model
 // filing t_model
