2 |
|
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
4 |
|
/* |
5 |
< |
* Routines to encode/decoded 16-bit depths |
5 |
> |
* Routines to encode/decode 32-bit normals |
6 |
|
*/ |
7 |
|
|
8 |
|
#include "copyright.h" |
85 |
|
} |
86 |
|
|
87 |
|
|
88 |
< |
/* Check that we have what we need to decode depths */ |
88 |
> |
/* Check that we have what we need to decode normals */ |
89 |
|
int |
90 |
|
check_decode_normals(NORMCODEC *ncp) |
91 |
|
{ |
152 |
|
} |
153 |
|
|
154 |
|
|
155 |
< |
/* Read and decode depth for the given pixel */ |
155 |
> |
/* Read and decode normal for the given pixel */ |
156 |
|
int |
157 |
|
decode_normal_pix(FVECT nrm, NORMCODEC *ncp, int x, int y) |
158 |
|
{ |