home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Photo CD Demo 1
/
Demo.bin
/
graphtal
/
rgb2rysh.awk
< prev
next >
Wrap
Text File
|
1992-09-03
|
251b
|
11 lines
BEGIN { print "#ifndef COLORS_INC"
print "# define COLORS_INC\n"
}
{ printf "surface %-20s\n", $4
printf " diffuse %1.3g %1.3g %1.3g\n\n", $1/255, $2/255, $3/255
}
END { print "\n#endif COLORS_INC" }