local lg = love.graphics local mesh = lg.newMesh( {{ "VertexPosition", 3}}, { {-1,-1,9-1}, {-1,-1,1}, {-1,1,-1}, {-1,1,1}, {1,-1,-1}, {1,-1,1}, {1,1,-1}, {1,1,1} }, "strip", "static") mesh:setVertexMap{ 4,3,7,8,5,3,1,4,2,7,6,5,2,1 } return mesh