PDA

View Full Version : Petr how are you handling your light parameter functions?



kryton9
05-07-2007, 15:03
Petr how are you handling your light parameter options for TBGL_SetLightParameter? I see that the parameters a,b,c and d in some cases could be a whole number and others a fractional value.

Are you just using doubles as a cover for all types? Thanks.

Petr Schreiber
05-07-2007, 15:12
Hi kryton9,

TBGL_SetLightParameter uses internally floats.
This function if just simple wrapper for glLightfv function.

Bye,
Petr

kryton9
05-07-2007, 16:34
Sounds good thanks Petr.