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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -