ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/normcodec.c
(Generate patch)

Comparing ray/src/util/normcodec.c (file contents):
Revision 2.1 by greg, Fri Jul 19 02:18:44 2019 UTC vs.
Revision 2.2 by greg, Fri Jul 19 02:25:02 2019 UTC

# Line 2 | Line 2
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"
# Line 85 | Line 85 | process_nc_header(NORMCODEC *ncp, int ac, char *av[])
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   {
# Line 152 | Line 152 | seek_nc_pix(NORMCODEC *ncp, int x, int y)
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   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines