opengl es 2.0 in snap to edge and snap to middle in android programmmatically -
i tried make snap edge , snap middle effect of line auto cad.
i used opengl es 2.0 android technology draw line.
i make effect snap edge. , when touch (action down - touch event) corner of line , show snapping effect small square in line corner.
but , after action touch on line corner , snap effect not able clear .
note : problem. when touch line starting point , ending point snapping effect came.but , after remove touch on line , dont know how clear last shown snap effect.
like how clear last shown snap effect vertex buffer memory ?
help me known in android opengl es2.0..
![snap edge effect][1] [1]: http://i.stack.imgur.com/rwn9s.jpg
Comments
Post a Comment