Fix culling bug
This commit is contained in:
parent
ff3830cb02
commit
dab40e47bc
5 changed files with 29 additions and 9 deletions
|
@ -594,7 +594,7 @@ uint8_t _LCR_rendererCheckMapTriCover(const S3L_Index *t1, const S3L_Index *t2)
|
|||
S3L_abs(vertices[0][0] - vertices[3][0]) +
|
||||
S3L_abs(vertices[0][1] - vertices[3][1]) +
|
||||
S3L_abs(vertices[0][2] - vertices[3][2]) >
|
||||
(3 * LCR_RENDERER_UNIT / 2))
|
||||
(3 * LCR_RENDERER_UNIT))
|
||||
return 0;
|
||||
|
||||
vertices[1] = LCR_renderer.mapVerts + 3 * t1[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue