Jump to content
  • Advertisement

Archived

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

periergos

Spliting Polygon from BSP FAQ

This topic is 5549 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 my question is simple.... I was reading the SplitPolygon function in the BSP FAQ but i didn''t understand one line! this: real sect = - part->Classify_Point(ptA) / (part->Normal() | v); what is the "|" symbol in the end of this line? thank you!!

Share this post


Link to post
Share on other sites
Advertisement
I dont think that the symbol ''|'' is a bitwise OR on the data
because part->Normal() and v is vectors.
maybe a operator from a vector class.
but what this operator do?

Share this post


Link to post
Share on other sites
In that case; go to the Vector definition. It is bound to be listed in the header as an overloaded operator ^_^



This is the polish virus. It is not an executable, but if you would kindly format your entire harddrive, we would be happy.

Share this post


Link to post
Share on other sites

This topic is 5549 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.

Guest
This topic is now closed to further replies.

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!