Skip to content
  • Monster Iestyn's avatar
    Starting work on porting hw_clip.c/h code, Makefiles and CMake can compile them at least · a733a29f
    Monster Iestyn authored
    Other notes:
    * Renamed all new functions to have HWR_ prefix instead of gld_, for consistency
    * HWR_FrustrumSetup and HWR_SphereInFrustum are disabled and require HAVE_SPHEREFRUSTRUM. This is because 1) SRB2CB did not need the code, so presumably neither will we, and 2) there are some OpenGL API functions used there that due to our way of using OpenGL we don't use outside of r_opengl.c, which makes dealing with HWR_FrustrumSetup complicated in theory
    * The new clipping functions are not added to OpenGL's "main" rendering code itself just yet, they're just available to use now once hw_clip.h is included
    a733a29f