Remove updateNormals() call

This commit is contained in:
Eryn Wells 2018-11-23 09:37:57 -07:00
parent 4e848091bb
commit c3432af621
2 changed files with 0 additions and 13 deletions

View file

@ -23,7 +23,6 @@ protocol TerrainGenerator {
var needsGPU: Bool { get }
var outTexture: MTLTexture { get }
func updateUniforms()
func encode(in encoder: MTLComputeCommandEncoder)
func render(progress: Progress) -> [Float]
}
@ -97,8 +96,6 @@ class ZeroAlgorithm: Kernel, TerrainGenerator {
// MARK: Algorithm
func updateUniforms() { }
func render(progress: Progress) -> [Float] {
return []
}
@ -359,9 +356,6 @@ public class DiamondSquareGenerator: TerrainGenerator {
func encode(in encoder: MTLComputeCommandEncoder) {
}
func updateUniforms() {
}
}
extension DiamondSquareGenerator.Point: Equatable {