Generate terrain on a keypress

This commit is contained in:
Eryn Wells 2018-11-04 14:19:02 -05:00
parent 55a134882d
commit 8ffb0a1cfe
5 changed files with 44 additions and 11 deletions

View file

@ -91,7 +91,7 @@ class Terrain: NSObject {
return nil
}
guard let alg = ZeroAlgorithm(device: device, library: library) else {
guard let alg = RandomAlgorithm(device: device, library: library) else {
print("Couldn't create algorithm")
return nil
}