1 |
– |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* t_data.c - routine for stored textures |
9 |
– |
* |
10 |
– |
* 6/4/86 |
6 |
|
*/ |
7 |
|
|
8 |
+ |
#include "copyright.h" |
9 |
+ |
|
10 |
|
#include "ray.h" |
11 |
|
|
12 |
|
#include "data.h" |
75 |
|
d = 1.0 / mf->f->sca; |
76 |
|
for (i = 0; i < 3; i++) |
77 |
|
r->pert[i] += disp[i] * d; |
78 |
< |
return; |
78 |
> |
return(0); |
79 |
|
computerr: |
80 |
|
objerror(m, WARNING, "compute error"); |
81 |
< |
return; |
81 |
> |
return(0); |
82 |
|
} |