refactor: simple

This commit is contained in:
cha0s 2021-05-09 21:16:06 -05:00
parent 2a8ae10ec7
commit 4489d96d0a

View File

@ -84,8 +84,7 @@ export default class TilesView extends Container {
}
static hashChunk(chunk) {
// eslint-disable-next-line no-bitwise
return (chunk[1] << 16) + chunk[0];
return Vector.packToUint32(chunk);
}
invalidateChunks(chunks) {