mirror of
				https://github.com/GayPizzaSpecifications/voxelotl-engine.git
				synced 2025-11-04 10:59:39 +00:00 
			
		
		
		
	remove the awful tmp code
This commit is contained in:
		@ -4,15 +4,6 @@ import QuartzCore.CAMetalLayer
 | 
				
			|||||||
import simd
 | 
					import simd
 | 
				
			||||||
import ShaderTypes
 | 
					import ShaderTypes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//// Temp:
 | 
					 | 
				
			||||||
//@objc fileprivate enum ShaderInputIdx: NSInteger {
 | 
					 | 
				
			||||||
//  case ShaderInputIdxVertices = 0
 | 
					 | 
				
			||||||
//}
 | 
					 | 
				
			||||||
//fileprivate struct ShaderVertex {
 | 
					 | 
				
			||||||
//  let position: SIMD4<Float>
 | 
					 | 
				
			||||||
//  let color: SIMD4<Float>
 | 
					 | 
				
			||||||
//}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class Renderer {
 | 
					class Renderer {
 | 
				
			||||||
  fileprivate static let vertices = [
 | 
					  fileprivate static let vertices = [
 | 
				
			||||||
    ShaderVertex(position: SIMD4<Float>(-0.5, -0.5, 0.0, 1.0), color: SIMD4<Float>(1.0, 0.0, 0.0, 1.0)),
 | 
					    ShaderVertex(position: SIMD4<Float>(-0.5, -0.5, 0.0, 1.0), color: SIMD4<Float>(1.0, 0.0, 0.0, 1.0)),
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user