Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConfusion about imdraw documentation #216
Open
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to documentation below
Pushing new points in the main loop is no good since
Clear()doesn't empty already pushed points but for some reason it works just fine. Only the recently pushed points are drawn to the screen. Am I missing something?Also,
Reset()supposedly removes all the pushed points but in this case it doesn't work. All the points pushed up until that moment is drawn to the screen. That's probably because old points were already drawn to the framebuffer and reset doesn't clear the buffer but it's really confusing.Another nitpick would be that even If I use both there is no way to completely reset an
imdrawobject since it doesn't affect matrix and color mask.So what's the best way to have a dynamically changing imdraw setup?
Thanks