// Following code is from the Quake Standards Group // tutorial "Vertex Lighting" by (c)2001 Orbiter Productions, // and is protected by the terms and conditions described // in the GNU General Public License, downloadable at // http://www.gnu.org/copyleft/gpl.html. // RIOT - Vertex lighting for models extern byte anorm_pitch[162]; extern byte anorm_yaw[162]; extern byte vlighttable[256][256]; float VLight_LerpLight(int index1, int index2, float ilerp, float apitch, float ayaw);