refactor: simple
This commit is contained in:
parent
2a8ae10ec7
commit
4489d96d0a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user