cstop.c
来自「linux下的C语言开发」· C语言 代码 · 共 24 行
C
24 行
/*-*//******************************************************** * point_color -- gets the color of a single point * * * * Parameters * * point_number -- index of the point * * * * Returns * * RGB version of the color. * ********************************************************//*+*/extern float lookup(int index);float point_color(int point_number){ float correction; /* color correction factor */ extern float red,green,blue;/* current colors */ correction = lookup(point_number); return (red*correction * 100.0 + blue*correction * 10.0 + green*correction);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?