]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
added rmesh_t and R_Mesh_AddVertex3f, R_Mesh_AddPolygon3f, R_Mesh_AddBrushMeshFromPla...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 May 2005 12:59:38 +0000 (12:59 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 May 2005 12:59:38 +0000 (12:59 +0000)
commitaf0dcabc0e2b5e187cc9182015b612d5ae4efb0b
treea2a0321a0d5b4dd9bdcc4fea250bae5cbe151237
parent65fea57d305ccc8d64fa83759d5b32bb69617b95
added rmesh_t and R_Mesh_AddVertex3f, R_Mesh_AddPolygon3f, R_Mesh_AddBrushMeshFromPlanes functions
R_Shadow_ScissorForBBox now uses R_Mesh_AddBrushMeshFromPlanes function to get an exact clipped box-brush vertex set for calculating scissor area, this should reduce the scissor area used in some cases compared to the old hacky method
added nearclip plane to frustum[] array (only used by R_Shadow_ScissorForBBox)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5247 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
r_shadow.c
r_shadow.h
render.h