Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=0,500 do
- for k,v in pairs(beziers) do
- a,b = v.getX(i)
- if a then
- xBuffer[round(a)] = 1
- if b then
- xBuffer[round(a)] = 1
- end
- end
- end
- for k,v in pairs(lines) do
- a = v.getX(i)
- if a then
- xBuffer[round(a)] = 1
- end
- end
- state = false
- for x=0,600 do
- if xBuffer[x] then
- state = not state
- end
- if state then
- love.graphics.points(x,i)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement