schell / gelatin

A nice Haskell graphics API. There's always room for jello.
BSD 3-Clause "New" or "Revised" License
41 stars 4 forks source link

Remove the RawLine primitive #31

Open schell opened 6 years ago

schell commented 6 years ago

During compilation the RawLine primitive gets decomposed and triangulated. It would be better to do this during construction with a special "lines" context, allowing us to remove the RawLine constructor and its complicated compilation path.