Author: devurandom Date: Sat May 26 20:25:15 2007 New Revision: 1349 URL: http://svn.gna.org/viewcvs/warzone?rev=1349&view=rev Log: Move the calculation of the relative light position for shadows out of the ShadowDrawLoop, into Draw3DShape, so we don't need to calculate it twice for the front- and the backface. Patch inspired by Watermelon.
Modified: trunk/lib/ivis_common/piedef.h trunk/lib/ivis_opengl/piedraw.c trunk/src/display3d.c _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits