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