| 623 | } |
| 624 | |
| 625 | bool Tr2InteriorPlaceable::IsInFrustum( const TriFrustum& frustum, Matrix& objectToWorld ) const |
| 626 | { |
| 627 | Vector3 minBounds, maxBounds; |
| 628 | if( !GetWorldBoundingBox( minBounds, maxBounds ) ) |
| 629 | { |
| 630 | return false; |
| 631 | } |
| 632 | objectToWorld = m_transform; |
| 633 | return frustum.IsBoxVisible( minBounds, maxBounds ); |
| 634 | } |
| 635 | |
| 636 | void Tr2InteriorPlaceable::GetPickingBatches( ITriRenderBatchAccumulator* batches, Tr2PickTypes pickTypes, const Tr2PerObjectData* perObjectData ) |
| 637 | { |
nothing calls this directly
no test coverage detected