aboutsummaryrefslogtreecommitdiff
path: root/src/constants.zig
diff options
context:
space:
mode:
authortslil clingman <>2021-09-22 22:46:47 -0400
committertslil clingman <>2021-09-22 22:59:31 -0400
commit9d25e1d69dede7d79ca9115a4ce4e65af49b8ddc (patch)
treeabb39414cfa08e09a0abb63a8a1809c39d790a11 /src/constants.zig
parenta657cc828cdcbb07f460d53f78a12dfe00a57325 (diff)
Colour blending
Some amount of work went into finding appropriate integer arithmetic formulae that were reasonably accurate. At this point i've settled for the incorrect-but-faster version. The better-though-slower formulas are still there in case i change my mind. It would help to have an assumption such as, but not limited to, the surfaces are always going to be fully opaque.
Diffstat (limited to 'src/constants.zig')
0 files changed, 0 insertions, 0 deletions