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

@ -210,13 +210,6 @@ class Renderer: NSObject, MTKViewDelegate {
}
private func updateGameState() {
/// Update any game state before rendering
if iterateTerrainAlgorithm {
if terrain.generator.needsGPU {
terrain.generator.updateUniforms()
}
}
geometryUniforms.pointer[0].projectionMatrix = camera.projectionMatrix
let rotationAxis = float3(0, 1, 0)