I've been working with openGL and i've just come across a problem. I've given my objects an X axis and a Y axis, ok. So now, when I draw them they will be a line or whatever, well my question is, how do I assign the ENTIRE line to be the object, and not just the starting point?
I need this to check if the two objects are touching.
I guess you can say, I need to declare the entire line as the object, and not just a single point as the object.