522 void LDBoundingBox::calcObject (LDObject* obj) |
522 void LDBoundingBox::calcObject (LDObject* obj) |
523 { switch (obj->getType()) |
523 { switch (obj->getType()) |
524 { case LDObject::Line: |
524 { case LDObject::Line: |
525 case LDObject::Triangle: |
525 case LDObject::Triangle: |
526 case LDObject::Quad: |
526 case LDObject::Quad: |
527 case LDObject::CndLine: |
527 case LDObject::CondLine: |
528 { for (int i = 0; i < obj->vertices(); ++i) |
528 { for (int i = 0; i < obj->vertices(); ++i) |
529 calcVertex (obj->getVertex (i)); |
529 calcVertex (obj->getVertex (i)); |
530 } break; |
530 } break; |
531 |
531 |
532 case LDObject::Subfile: |
532 case LDObject::Subfile: |