84
80
/* buffer samples, allocated in camera buffer and pointed to in lampbuffer nodes */
85
81
typedef struct ISBSample {
86
float zco[3]; /* coordinate in lampview projection */
87
short *shadfac; /* initialized zero = full lighted */
88
int obi; /* object for face lookup */
89
int facenr; /* index in faces list */
82
float zco[3]; /* coordinate in lampview projection */
83
short *shadfac; /* initialized zero = full lighted */
84
int obi; /* object for face lookup */
85
int facenr; /* index in faces list */
92
88
/* transparent version of buffer sample */
93
89
typedef struct ISBSampleA {
94
float zco[3]; /* coordinate in lampview projection */
95
short *shadfac; /* NULL = full lighted */
96
int obi; /* object for face lookup */
97
int facenr; /* index in faces list */
98
struct ISBSampleA *next; /* in end, we want the first items to align with ISBSample */
90
float zco[3]; /* coordinate in lampview projection */
91
short *shadfac; /* NULL = full lighted */
92
int obi; /* object for face lookup */
93
int facenr; /* index in faces list */
94
struct ISBSampleA *next; /* in end, we want the first items to align with ISBSample */
101
97
/* used for transparent storage only */