Commit c9b80e2e authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

ObjectTypes/MeshObject: bounding box computation: init bbmin and bbmax

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4459 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1947b8ae
......@@ -440,6 +440,8 @@
*/
template < class MeshT , DataType objectDataType >
void MeshObject< MeshT , objectDataType >::boundingBox( ACG::Vec3f& _bbMin , ACG::Vec3f& _bbMax ) {
_bbMin = ACG::Vec3f(FLT_MAX, FLT_MAX, FLT_MAX);
_bbMax = ACG::Vec3f(FLT_MIN, FLT_MIN, FLT_MIN);
meshNode_->boundingBox(_bbMin,_bbMax);
}
......
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