From a5d08d697456c9c678f067eba9e42b453d6c008e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 3 Nov 2018 16:26:55 -0400 Subject: [PATCH] Over-zealous multiline edit --- Terrain2/Terrain.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Terrain2/Terrain.swift b/Terrain2/Terrain.swift index e5c4731..152134b 100644 --- a/Terrain2/Terrain.swift +++ b/Terrain2/Terrain.swift @@ -17,15 +17,15 @@ class Terrain: NSObject { desc.attributes[VertexAttribute.position.rawValue].format = .float3 desc.attributes[VertexAttribute.position.rawValue].offset = 0 - desc.attributes[VertexAttribute.position.rawValue].bufferIndex = deschPositions.rawValue + desc.attributes[VertexAttribute.position.rawValue].bufferIndex = BufferIndex.meshPositions.rawValue desc.attributes[VertexAttribute.texcoord.rawValue].format = .float2 desc.attributes[VertexAttribute.texcoord.rawValue].offset = 0 - desc.attributes[VertexAttribute.texcoord.rawValue].bufferIndex = deschGenerics.rawValue + desc.attributes[VertexAttribute.texcoord.rawValue].bufferIndex = BufferIndex.meshGenerics.rawValue desc.attributes[VertexAttribute.gridCoord.rawValue].format = .uint2 desc.attributes[VertexAttribute.gridCoord.rawValue].offset = 0 - desc.attributes[VertexAttribute.gridCoord.rawValue].bufferIndex = deschGridCoords.rawValue + desc.attributes[VertexAttribute.gridCoord.rawValue].bufferIndex = BufferIndex.meshGridCoords.rawValue desc.layouts[BufferIndex.meshPositions.rawValue].stride = 12 desc.layouts[BufferIndex.meshPositions.rawValue].stepRate = 1