]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
render: Refactor R_CullBox to simplify it.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Apr 2021 15:18:38 +0000 (15:18 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Apr 2021 15:18:38 +0000 (15:18 +0000)
commit8aff8447d3f2c263e62ffe63f04f4c8b08f54541
tree61a865c8d8adb53e4f3c740d63375ebdaf7db6e6
parent1fe13da8a5fbb6b1ae4e7dcf55c415cf6846b59b
render: Refactor R_CullBox to simplify it.

Use bitwise comparisons instead of the previous switch. Skip the
nearclip plane on the view frustum.

From divVerent. Cleaned up further by Cloudwalk.

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