Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Doc_Holiday

Why 4 Coords for a Quad?

This topic is 6191 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well what i´ve been askin me for while now is, why do I have to give 4 Points to definate a Quad or Rect. 2 Points would be enough, you know now what I mean or? f.E upper left Point and the lower right. Take care Doc

Share this post


Link to post
Share on other sites
Advertisement
The reason is is that not all quadrilaterals are rectangles. If you want to make a rhombus, parallelogram, or trapezoid, two corners are insufficient to establish the dimensions of the quad. Using squares and rectangles, you''re right -- two is enough. But to be able to handle ALL quads, we must use all four, so we establish 4 points to every quad.

~ Dragonus

Share this post


Link to post
Share on other sites
if u working in 2d then AND ONLY then 2pionts are enough, but if u are working in 3d then u need 3points..because the squad could be rotated around the line wich is between point A and point B, so u need a third point to define the plane on wich the quad is

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!