F3DEX3
Loading...
Searching...
No Matches
PointLight_t Struct Reference

#include <gbi.h>

Data Fields

unsigned char kc
 
unsigned char colc [3]
 
unsigned char kl
 
short pos [3]
 
unsigned char kq
 
unsigned char size
 

Detailed Description

Light structure.

Note: the weird order is for the DMEM alignment benefit of the microcode.

Field Documentation

◆ colc

unsigned char colc[3]

constant attenuation (> 0 indicates point light)

◆ kc

unsigned char kc

point light color (rgb)

◆ kl

unsigned char kl

copy of point light color (rgb)

◆ kq

unsigned char kq

world-space position of light

◆ pos

short pos[3]

linear attenuation

◆ size

unsigned char size

quadratic attenuation


The documentation for this struct was generated from the following file: