Bounding a semi-circle ?
I appologize in advance in the event that people may be getting annoyed with my posts, but please keep in mind that I am new to this wonderful world of opengl.
I am still unclear on something here. For refference, I am in a 2D enviroment, and I am making a mini golf game.My present task is collision detection, and next is ball re-direction. Question : if I have a semi-circle, what is the quickest way to bound its area? Would it take several small bounding boxes, or can opengl draw a circular line to trace this area of my bitmap ? If so, can opengl bound an area of a certain color ? The reason that I am concerned with this problem is that I will have 18 holes in my mini golf game. I want to make sure that I''m not doing things the hard way, as you can imagine that if I have to make several, small bounding boxes for any arcs contained on a particular hole, that will be quite a bit of coding.
JC
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement