Remove updateNormals() call
This commit is contained in:
parent
4e848091bb
commit
c3432af621
2 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue