[oden] Input coordinates are pixel coordinates
This commit is contained in:
parent
e3ae371f53
commit
0a36ffdde1
4 changed files with 117 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue