comments: wrap long lines

This commit is contained in:
4DBug committed 2026-11-01 01:57:14 -05:00
1 parent 31f977ab95
commit a905f48575
4 files changed
+11 -7

No files matched your search

+2 -1
View File
@@ -374,7 +374,8 @@ function K.nearest(src: buffer, w: number, h: number, bpp: number, dst: buffer,
end
end
-- affine: dst pixel centres through m = { a, b, c, d, e, f } (xin = a x + b y + c), bilinear with clamped neighbours; centres outside the source -> zeros (Pillow)
-- affine: dst pixel centres through m = { a, b, c, d, e, f } (xin = a x + b y + c), bilinear with clamped
-- neighbours; centres outside the source -> zeros (Pillow)
function K.affine(src: buffer, w: number, h: number, ch: number, kind: number, dst: buffer, ow: number, oh: number, m: { number })
local a, b, c, d, e, f = m[1], m[2], m[3], m[4], m[5], m[6]
local size = kind
+2 -1
View File
@@ -183,7 +183,8 @@ export type SampleSpec = {
local LOOPS: { [string]: number } = { none = 0, forward = 1, pingpong = 2 }
-- tuning: c5speed for S3M / IT; relativeNote + finetune (1/128 semitone from 8363 Hz) for MOD / XM (MOD stores only the finetune, -1..+7/8 semitone)
-- tuning: c5speed for S3M / IT; relativeNote + finetune (1/128 semitone from 8363 Hz) for MOD / XM (MOD stores
-- only the finetune, -1..+7/8 semitone)
function MusicOps.addSample(m: any, spec: SampleSpec): (number?, Err.Err?)
if not isModule(m) then
return bad("addSample: needs a tracker Module")