F3DEX3
|
#include <gbi.h>
Data Fields | |
unsigned char | kc |
unsigned char | colc [3] |
unsigned char | kl |
short | pos [3] |
unsigned char | kq |
unsigned char | size |
Light structure.
Note: the weird order is for the DMEM alignment benefit of the microcode.
unsigned char colc[3] |
constant attenuation (> 0 indicates point light)
unsigned char kc |
point light color (rgb)
unsigned char kl |
copy of point light color (rgb)
unsigned char kq |
world-space position of light
short pos[3] |
linear attenuation
unsigned char size |
quadratic attenuation