| 489 | #include "TriFrustum.h" |
| 490 | |
| 491 | bool Tr2IntSkinnedObject::IsInFrustum( const TriFrustum& frustum, Matrix& objectToWorld ) const |
| 492 | { |
| 493 | Vector3 minBounds, maxBounds; |
| 494 | if( !GetWorldBoundingBox( minBounds, maxBounds ) ) |
| 495 | { |
| 496 | return false; |
| 497 | } |
| 498 | objectToWorld = m_transform; |
| 499 | return frustum.IsBoxVisible( minBounds, maxBounds ); |
| 500 | } |
| 501 | |
| 502 | void Tr2IntSkinnedObject::GetPickingBatches( ITriRenderBatchAccumulator* batches, Tr2PickTypes pickTypes, const Tr2PerObjectData* perObjectData ) |
| 503 | { |
no test coverage detected