|
|
|
@ -288,6 +288,8 @@ static INLINE short world_planeDot(const SVECTOR *dir, const ps1bsp_plane_t *pla |
|
|
|
|
|
|
|
static void world_drawface(const world_t *world, const ps1bsp_face_t *face) |
|
|
|
{ |
|
|
|
// TODO: do an early primitive buffer check here, so we can skip backface culling & vertex copying if it's already full |
|
|
|
|
|
|
|
// Backface culling using the face's plane and center point |
|
|
|
// This eliminates the need for normal clipping per polygon |
|
|
|
SVECTOR cam_vec; |
|
|
|
|