arc help
Depends on what you want it to look like. There are an infinite number of arcs between two points. You would really need a third point for your question to make sense.
any arc will do
i just wanna connect the two points with an arc
let center be ((x1+x2)/2 , (y1+y2)/2 )
i just wanna connect the two points with an arc
let center be ((x1+x2)/2 , (y1+y2)/2 )
Quote:Original post by asdfweIt looks like you have the center figured out, and the radius is just |p1-p2|/2.
any arc will do
i just wanna connect the two points with an arc
let center be ((x1+x2)/2 , (y1+y2)/2 )
How to draw a circle in OpenGL (and other APIs) has been covered quite a few times on these forums, so I'd try searching the archives for 'OpenGL circle', or something of that sort. Then, just draw half of it :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement