[oden] Input coordinates are pixel coordinates

This commit is contained in:
John Doty 2023-06-25 07:54:25 -07:00
parent e3ae371f53
commit 0a36ffdde1
4 changed files with 117 additions and 26 deletions

View file

@ -22,7 +22,7 @@ export function spr(
sw: number | undefined = undefined,
sh: number | undefined = undefined
) {
sw = sw || w;
sh = sh || h;
sw = sw || 1.0;
sh = sh || 1.0;
core.spr(x, y, w, h, sx, sy, sw, sh);
}