Files
Cesarus85--ringfall-mjolnir-vr/source/math
Jonas Volman a6e7a3a7a0 Port: keep blended colours within [0, 1]
Starting a system link game on Blood Gulch in the Windows build stopped
on two colour range asserts: rgb_colors_interpolate's result (a
structure decal's random tint) and a transparent shader stage's
animated constant colour. Both blend two valid colours by a factor in
[0, 1], and the native builds' x87 code can carry such values (and
periodic_function_evaluate's 255*(1.0f/255.0f)) at more than single
precision, a hair past 1. The blends are pinned to [0, 1] before the
asserts, and periodic functions return values in [0, 1].

(cherry picked from commit 5c1e49f189e09212d6bc9568649b1cdb7b1e005e, with
the changes marked port: in place of that fork's HALO_LINUX, which OpenCE
never defines, and without its README table)
2026-10-19 22:21:30 +13:00
..
2026-06-08 02:44:47 +01:00
2026-06-08 02:44:47 +01:00
2026-07-14 17:43:18 -07:00
2025-11-27 02:27:27 +00:00