Re: Strange issue when converting from hex to float
Re: Strange issue when converting from hex to float
- Subject: Re: Strange issue when converting from hex to float
- From: Andy Lee <email@hidden>
- Date: Fri, 22 Jul 2005 15:05:01 -0400
float fAlpha = (float)alphaComp / (float)255.0;
float fRed = (float)alphaComp / (float)255.0;
float fGreen = (float)alphaComp / (float)255.0;
float fBlue = (float)alphaComp / (float)255.0;
You're using alphaComp in all four lines.
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden