Move matrix + silhouette updates into method

This commit is contained in:
adroitwhiz 2020-05-19 16:02:12 -04:00
parent d73aeb1ac1
commit e7b1504117
5 changed files with 27 additions and 21 deletions
test/integration

View file

@ -42,8 +42,7 @@
if (!(drawable._visible && drawable.skin)) {
return;
}
drawable.updateMatrix();
drawable.skin.updateSilhouette();
drawable.updateCPURenderAttributes();
return { id, drawable };
}).reverse().filter(Boolean);
const color = new Uint8ClampedArray(3);