| 1534 | } |
| 1535 | |
| 1536 | void CPHShell::get_Extensions(const Fvector& axis, float center_prg, float& lo_ext, float& hi_ext) |
| 1537 | { |
| 1538 | lo_ext = dInfinity; |
| 1539 | hi_ext = -dInfinity; |
| 1540 | ELEMENT_I i = elements.begin(), e = elements.end(); |
| 1541 | for (; i != e; ++i) |
| 1542 | { |
| 1543 | float temp_lo_ext, temp_hi_ext; |
| 1544 | (*i)->get_Extensions(axis, center_prg, temp_lo_ext, temp_hi_ext); |
| 1545 | if (lo_ext > temp_lo_ext) |
| 1546 | lo_ext = temp_lo_ext; |
| 1547 | if (hi_ext < temp_hi_ext) |
| 1548 | hi_ext = temp_hi_ext; |
| 1549 | } |
| 1550 | } |
| 1551 | |
| 1552 | const CGID& CPHShell::GetCLGroup() const { return CPHCollideValidator::GetGroup(*this); } |
| 1553 | |