Henrik Rydgård
d4b6965db0
TestBoundingBox: bail out when the indices reach past the scratch space
...
corners and verts are carved out of decoded_ at fixed offsets 6*65536 bytes apart,
and NormalizeVertices fills corners with indexUpperBound - indexLowerBound + 1
SimpleVertex. The vertexCount > 1024 guard doesn't bound that: the index values come
from the game, so 1024 indices can span the full 16-bit range and run corners into
verts, making the cull decision from overwritten data. Bail on an index over 1024
and report visible - a bbox test that large isn't worth doing anyway.
2026-09-02 18:06:47 +02:00
..
2026-06-10 10:41:30 +02:00
2026-07-16 15:47:59 +02:00
2026-08-30 22:33:01 +02:00
2026-08-30 22:33:01 +02:00
2026-06-10 10:41:30 +02:00
2026-06-10 10:41:30 +02:00
2026-09-02 18:06:47 +02:00
2026-08-30 22:33:01 +02:00
2026-08-31 12:41:18 +02:00
2025-06-10 16:59:14 +02:00
2026-08-31 16:30:53 +02:00
2026-07-16 18:05:59 +02:00
2026-08-11 09:08:52 +02:00
2026-06-10 10:41:30 +02:00
2026-07-13 11:50:47 +02:00
2026-07-02 20:34:09 +02:00
2026-06-09 11:25:50 +02:00
2026-05-30 19:07:58 +02:00
2026-05-23 14:40:15 +02:00
2026-09-02 18:06:47 +02:00
2026-04-23 13:32:06 +02:00
2026-05-26 15:51:24 +02:00
2026-05-26 15:51:24 +02:00
2024-12-18 13:57:26 +01:00
2024-07-25 14:52:41 +02:00
2026-08-31 12:58:47 +02:00
2026-08-01 13:16:22 +02:00
2026-07-16 15:47:59 +02:00
2026-07-30 10:03:15 +02:00
2026-07-24 12:06:15 +02:00
2026-08-11 22:27:44 +02:00
2026-07-16 17:45:22 +02:00
2026-08-30 22:45:50 +02:00
2026-07-16 18:05:59 +02:00
2026-07-14 17:02:57 +02:00
2026-07-03 12:55:34 +02:00
2026-08-12 14:06:16 +02:00
2022-11-24 18:48:46 -08:00
2026-08-30 23:05:04 +02:00
2026-08-19 18:45:52 +02:00
2026-08-19 18:45:52 +02:00
2026-08-12 14:06:16 +02:00
2026-09-02 18:06:47 +02:00
2026-08-03 18:55:33 +02:00
2024-12-19 16:23:20 +01:00
2024-04-05 17:04:31 +03:00
2026-06-11 11:58:58 +02:00
2026-06-14 14:02:09 +02:00
2024-12-18 13:57:26 +01:00
2024-12-18 13:57:26 +01:00
2026-07-14 17:26:00 +02:00
2026-07-14 17:26:00 +02:00
2026-08-11 22:36:47 +02:00
2026-07-14 17:26:00 +02:00
2026-06-13 17:44:39 +02:00
2024-05-11 10:00:39 +02:00
2026-07-14 17:26:00 +02:00
2026-07-14 17:26:00 +02:00
2026-07-14 17:26:00 +02:00
2026-06-08 15:28:58 +02:00
2026-07-15 12:14:33 +02:00
2025-06-10 16:59:14 +02:00