[oden] Texture Coordinates are pixels too

This commit is contained in:
John Doty 2023-06-25 08:04:37 -07:00
parent 17e40c2a36
commit f232f095f5
3 changed files with 6 additions and 6 deletions

View file

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