[ Maverik Level 1 functions ]


mav_paletteLightPos

Summary

Set palette light position.


Syntax

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


Description

This function sets the position of the light at entry index in the light table of palette p to be pos. By default lights are positioned relative to the eye point and, once defined, follow the eyepoint to give a car-headlight effect. Use mav_paletteLightPositioning to specify that a light should have an absolute fixed position defined in world coordinates.


Back to the index page.