Re: [osg-users] a bug in void osg::Polytope::setToBoundingBox ( const BoundingBox bb ) [inline]

2007-12-02 Thread Robert Osfield
Hi, Yesterday another engineer reported this issue, a fix was posted by myself and also checked into OSG subversion repository. FYI, the setFrustum method was also buggy in the same way. Robert. On Dec 2, 2007 1:28 AM, 祝清鲁 [EMAIL PROTECTED] wrote: osg-users,您好! does something wrong in the

[osg-users] a bug in void osg::Polytope::setToBoundingBox ( const BoundingBox bb ) [inline]

2007-12-01 Thread 祝清鲁
osg-users,您好! does something wrong in the following code? void setToBoundingBox(const BoundingBox bb) { _planeList.clear(); _planeList.push_back(Plane(1.0,0.0,0.0,-bb.xMin())); // left plane. _planeList.push_back(Plane(-1.0,0.0,0.0,bb.xMax()));