mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-02 21:00:57 +00:00
use chunkid typealias for clarity in concurrent worldgen
This commit is contained in:
parent
65af0b321d
commit
2e4a7a10df
@ -63,7 +63,7 @@ public class World {
|
|||||||
self._generator.reset(seed: seed)
|
self._generator.reset(seed: seed)
|
||||||
let orig = SIMD3(width, height, depth) / 2
|
let orig = SIMD3(width, height, depth) / 2
|
||||||
|
|
||||||
let localChunks = ConcurrentDictionary<SIMD3<Int>, Chunk>()
|
let localChunks = ConcurrentDictionary<ChunkID, Chunk>()
|
||||||
let queue = OperationQueue()
|
let queue = OperationQueue()
|
||||||
queue.qualityOfService = .userInitiated
|
queue.qualityOfService = .userInitiated
|
||||||
for z in 0..<depth {
|
for z in 0..<depth {
|
||||||
|
Loading…
Reference in New Issue
Block a user