home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SRC
/
RT
/
FUNC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-07
|
673b
|
24 lines
/* 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 */