adamwulf / JotUI

OpenGL based drawing view built for and used by Loose Leaf for iPad
http://getlooseleaf.com/opensource/
MIT License
268 stars 28 forks source link

Allow drawing offscreen. #4

Closed bobspryn closed 7 years ago

bobspryn commented 7 years ago

Needed to use something other than -1 for a "point not yet set" in the SegmentSmoother, so went with CGFloat_Min. Also had to get rid of vertex assertions, which doesn't really seem to cause any issues. Also got rid of the vertex color assertions since the new wide gamut can have colors with RGB > 1.

adamwulf commented 7 years ago

sweet thanks!