mav_paletteLightPos(3)

NAME
mav_paletteLightPos - Set palette light position.

LEVEL
Maverik Level 1

SYNTAX
void mav_paletteLightPos(MAV_palette *p, int index, MAV_vector pos);

ARGUMENTS
Palette to set. Index into lights table, in range 0..mav_opt_maxLights (default 5). Position vector.

DESCRIPTION
This function sets the position of the light at entry index in the light table of palette p. The light position is set relative to the eyepoint, as in OpenGL. pos is the offset from the eyepoint.