Q3ColorRGB_Set
You can use the Q3ColorRGB_Set function to set the fields of an RGB color structure.
TQ3ColorRGB *Q3ColorRGB_Set (
TQ3ColorRGB *color,
float r,
float g,
float b);
color
- On exit, a pointer to an RGB color structure.
r
- The red component of the color.
g
- The green component of the color.
b
- The blue component of the color.
DESCRIPTION
The Q3ColorRGB_Set function returns, as its function result and in the color parameter, a pointer to an RGB color structure whose fields contain the values in the r, g, and b parameters.