Files
mercury/benchmarks/progs/icfp2000_par/examples/surface.ins
Paul Bone ea06fd8cde Add the benchmarks directory into the main Mercury repository.
This was a seperate repository in CVS and so it missed the conversion.

benchmarks/
    As above.
2013-01-04 12:13:53 +11:00

31 lines
535 B
TeX

/* surface.ins
*
* This include file defines simple constant surface functions
*/
#ifndef _SURFACE_INS_
#define _SURFACE_INS_
%%%%%%%%%% include surface.ins %%%%%%%%%%
#include "util.ins"
#include "colors.ins"
% ... <color> matte ==> ... <surface>
{ /color
{ /v /u /face
color 1.0 0.0 1.0
}
} /matte
% ... <color> <kd> <ks> <n> ==> ... <surface>
{ /n /ks /kd /color
{ /v /u /face
color kd ks n
}
} /const-surface
%%%%%%%%%% surface.ins %%%%%%%%%%
#endif /* !_SURFACE_INS_ */