| 33 |
|
register RAY *r; |
| 34 |
|
XF *bx; |
| 35 |
|
{ |
| 36 |
< |
extern double l_noise3(), l_noise3a(), l_noise3b(), l_noise3c(); |
| 37 |
< |
extern double l_hermite(), l_fnoise3(), l_arg(); |
| 36 |
> |
extern double l_arg(); |
| 37 |
|
extern long eclock; |
| 38 |
|
static char *initfile = "rayinit.cal"; |
| 39 |
|
/* initialize if first call */ |
| 48 |
|
scompile("Jx=$19;Jy=$20;Jz=$21;", NULL, 0); |
| 49 |
|
scompile("Kx=$22;Ky=$23;Kz=$24;", NULL, 0); |
| 50 |
|
funset("arg", 1, '=', l_arg); |
| 51 |
< |
funset("noise3", 3, ':', l_noise3); |
| 53 |
< |
funset("noise3a", 3, ':', l_noise3a); |
| 54 |
< |
funset("noise3b", 3, ':', l_noise3b); |
| 55 |
< |
funset("noise3c", 3, ':', l_noise3c); |
| 56 |
< |
funset("hermite", 5, ':', l_hermite); |
| 57 |
< |
funset("fnoise3", 3, ':', l_fnoise3); |
| 51 |
> |
setnoisefuncs(); |
| 52 |
|
initfile = NULL; |
| 53 |
|
} |
| 54 |
|
fobj = m; |