Differences From Artifact [37acc1d08b]:
- File src/worldrender.m — part of check-in [b787ad5a04] at 2025-03-22 23:10:13 on branch trunk — Clean up DynamicEntity (user: js, size: 10121) [annotate] [blame] [check-ins using]
To Artifact [ae30288fea]:
- File
src/worldrender.m
— part of check-in
[6b85eefc85]
at
2025-03-23 02:47:40
on branch trunk
— Remove loop[ijkl]
They confused clang-format a lot. (user: js, size: 10142) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
314 315 316 317 318 319 320 | // does some out of date view frustrum optimisation that doesn't contribute much // anymore void render_world( float vx, float vy, float vh, int yaw, int pitch, float fov, int w, int h) { | > | | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 | // does some out of date view frustrum optimisation that doesn't contribute much // anymore void render_world( float vx, float vy, float vh, int yaw, int pitch, float fov, int w, int h) { for (int i = 0; i < LARGEST_FACTOR; i++) stats[i] = 0; min_lod = MIN_LOD + abs(pitch) / 12; yaw = 360 - yaw; float widef = fov / 75.0f; int cdist = abs(yaw % 90 - 45); // hack to avoid popup at high fovs at 45 yaw if (cdist < 7) { // less if lod worked better |
︙ | ︙ |