ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/func.h
Revision: 2.1
Committed: Mon Nov 25 09:49:47 1991 UTC (32 years, 5 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Initial revision

File Contents

# User Rev Content
1 greg 2.1 /* Copyright (c) 1991 Regents of the University of California */
2    
3     /* SCCSid "$SunId$ LBL" */
4    
5     /*
6     * Header file for modifiers using function files.
7     * Include after standard.h.
8     */
9    
10     #include "calcomp.h"
11    
12     #define MAXEXPR 9 /* maximum expressions in modifier */
13    
14     typedef struct {
15     EPNODE *ep[MAXEXPR+1]; /* NULL-terminated expression list */
16     char *ctx; /* context (from file name) */
17     XF *f, *b; /* forward and backward transforms */
18     } MFUNC; /* material function */
19    
20     extern XF unitxf; /* identity transform */
21     extern XF funcxf; /* current transform */
22    
23     extern MFUNC *getfunc(); /* get MFUNC structure for modifier */