ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/cmconst.c
Revision: 2.1
Committed: Sat Apr 19 17:12:59 2025 UTC (2 weeks, 5 days ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
refactor: Isolated RMATRIX<->CMATRIX conversion routines

File Contents

# User Rev Content
1 greg 2.1 #ifndef lint
2     static const char RCSid[] = "$Id$";
3     #endif
4     /*
5     * Constants referenced from both cmatrix.o and rmatrix.o
6     */
7    
8     #include "color.h"
9    
10     const char stdin_name[] = "<stdin>";
11    
12     const char *cm_fmt_id[] = {
13     "unknown", COLRFMT, CIEFMT, SPECFMT,
14     "float", "ascii", "double"
15     };
16    
17     const int cm_elem_size[] = {
18     0, 4, 4, 0, 3*sizeof(float), 0, 3*sizeof(double)
19     };