Commit af5a6bd2 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed bounding box computation for plane

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17378 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6ee80c83
......@@ -89,6 +89,16 @@ void PlaneNode::boundingBox(ACG::Vec3d& _bbMin, ACG::Vec3d& _bbMax)
_bbMax.maximize( pos1 + xDird);
_bbMax.maximize( pos1 + yDird);
_bbMax.maximize( pos1 + xDird + yDird);
_bbMin.minimize( pos1 );
_bbMin.minimize( pos1 + xDird);
_bbMin.minimize( pos1 + yDird);
_bbMin.minimize( pos1 + xDird + yDird);
_bbMax.maximize( pos0 );
_bbMax.maximize( pos0 + xDird);
_bbMax.maximize( pos0 + yDird);
_bbMax.maximize( pos0 + xDird + yDird);
}
//----------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment