rgb - vec_set

Posted By: Roy

rgb - vec_set - 03/19/11 14:19

Hello,

I've just come across something strange.
When using vec_set(sky_color, vector(200,255,200)); in function main, the vector doesn't seem to be using rgb colours, but bgr. The first number represent blue, the second green and the third red (I'm using A7).
Does anyone know why this is?

Thanks,

Roy
Posted By: Xarthor

Re: rgb - vec_set - 03/19/11 14:31

http://www.conitec.net/beta/asky_color.htm

The COLOR* vector is in BGR format.
© 2024 lite-C Forums