SceneKit – Custom geometry does not show up
I should see 2 yellow triangles, but I see nothing. class Terrain { private class func createGeometry () -> SCNGeometry { let sources = [ SCNGeometrySource(vertices:[ SCNVector3(x: -1.0, y: -1.0, z: 0.0), SCNVector3(x: -1.0, y: 1.0, z: 0.0), SCNVector3(x: 1.0, y: 1.0, z: 0.0), SCNVector3(x: 1.0, y: -1.0, z: 0.0)], count:4), SCNGeometrySource(normals:[ SCNVector3(x: 0.0, y: 0.0, z: -1.0), SCNVector3(x: 0.0, y: 0.0, z: -1.0), SCNVector3(x: 0.0, y: 0.0, z: -1.0), SCNVector3(x: 0.0, y: 0.0, z: -1.0)], count:4) ] let elements = [ SCNGeometryElement(indices: [0, 2, 3, 0, 1, 2], primitiveType: