Chris Mitchell (chris++at++scotch.physics.ucla.edu)
Thu, 29 Aug 1996 15:21:04 -0700 (PDT)
Debugger Output:
cvd> print *this->root->box
*this->root->box = class pfBox {
min = class pfVec3 {
vec = {
[0] 0
[1] 0
[2] 0
}
}
max = class pfVec3 {
vec = {
[0] 20
[1] 20
[2] 20
}
}
}
cvd> print *Box
*Box = class pfBox {
min = class pfVec3 {
vec = {
[0] 0
[1] 0
[2] 0
}
}
max = class pfVec3 {
vec = {
[0] 50
[1] 50
[2] 10
}
}
}
Now it seems to me (from the man page) that *Box is bigger than *box, but the following
if() statement evaluates to true(!?!):
if (this->root->box->contains(Box) == PFIS_TRUE|PFIS_MAYBE|PFIS_ALL_IN)
//Execute code
>From the man page, one would conclude that
PFIS_MAYBE | PFIS_TRUE | PFIS_ALL_IN:
The box (that's Box) argument is non-empty and lies entirely inside the
box.
would not come up true here, but it does.
Any ideas? Is it a bug in pfBox?
Thanks,
Chris
////////////////////////////////////////////////////
//Chris Mitchell -- //
//Institute of Plasma and Fusion Research (IPFR) //
//UCLA Physics Department 310-206-1772 //
//mitchell++at++physics.ucla.edu //
//chrism++at++ucla.edu //
////////////////////////////////////////////////////
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:26 PDT