home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1991 Regents of the University of California */
-
- /* SCCSid "@(#)func.h 2.1 11/25/91 LBL" */
-
- /*
- * Header file for modifiers using function files.
- * Include after standard.h.
- */
-
- #include "calcomp.h"
-
- #define MAXEXPR 9 /* maximum expressions in modifier */
-
- typedef struct {
- EPNODE *ep[MAXEXPR+1]; /* NULL-terminated expression list */
- char *ctx; /* context (from file name) */
- XF *f, *b; /* forward and backward transforms */
- } MFUNC; /* material function */
-
- extern XF unitxf; /* identity transform */
- extern XF funcxf; /* current transform */
-
- extern MFUNC *getfunc(); /* get MFUNC structure for modifier */
-