Finally clean up this warning
This commit is contained in:
parent
c71a4c4b66
commit
9c4163909c
1 changed files with 1 additions and 7 deletions
|
@ -142,14 +142,8 @@ class Terrain: NSObject {
|
||||||
let progress = Progress(totalUnitCount: 1)
|
let progress = Progress(totalUnitCount: 1)
|
||||||
generatorQueue.async {
|
generatorQueue.async {
|
||||||
progress.becomeCurrent(withPendingUnitCount: 1)
|
progress.becomeCurrent(withPendingUnitCount: 1)
|
||||||
|
_ = self.generator.render(progress: progress)
|
||||||
let heights = self.generator.render(progress: progress)
|
|
||||||
progress.completedUnitCount += 1
|
progress.completedUnitCount += 1
|
||||||
|
|
||||||
// TODO: Store heights
|
|
||||||
|
|
||||||
// TODO: Compute normals
|
|
||||||
|
|
||||||
progress.resignCurrent()
|
progress.resignCurrent()
|
||||||
completion()
|
completion()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue