Generate terrain on a keypress
This commit is contained in:
parent
55a134882d
commit
8ffb0a1cfe
5 changed files with 44 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue