Archived

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

periergos

Spliting polygon from BSP FAQ

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
It's not going to be the bitwise operator in this case, since it's operating on a vector -- instead, it's an overloaded mathematical operator. Dot product, maybe?

EDIT: Checked out the FAQ and saw this:

quote:
The overloaded operator for a dot product (inner product, scalar product, etc.) of two vectors is the '|' symbol


[edited by - Alimonster on March 19, 2003 7:38:20 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by periergos
My god!!!
Guys!!! Lets get serious!!!!You think that if a had the vector class definition i would ask you?????
I dont have it!!!
BSP FAQ dont have it!!!
thats why i am asking you!!!

Why are you completely ignoring the information I posted several hours ago?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Seriously. The information you needed was in the very FAQ you were reading, yet you didn''t find it. Don''t go nuts.

Share this post


Link to post
Share on other sites