#include "math.h" #include "plot.h" void settran(theta,phi) double theta,phi; { double ct,cp,st,sp; ct = cos(theta); st = sin(theta); cp = cos(phi); sp = sin(phi); m1 = ct; m2 = st; m3 = st*sp; m4 = ct*sp; m5 = cp; } void initialmask (p,n) Gpoint *p; int n; { int i; /* * Initialize mask and mask size. */ for (i=0; i