-------------------------------------------------------------------------------- Description: Clear all the individual boosters & trails this set was holding so far. --------------------------------------------------------------------------------
| 828 | // Clear all the individual boosters & trails this set was holding so far. |
| 829 | // -------------------------------------------------------------------------------- |
| 830 | void EveBoosterSet2::Clear() |
| 831 | { |
| 832 | // clear everything |
| 833 | m_singleBoosters.clear(); |
| 834 | if( m_glows ) |
| 835 | { |
| 836 | m_glows->Clear(); |
| 837 | } |
| 838 | if( m_trails ) |
| 839 | { |
| 840 | m_trails->Clear(); |
| 841 | } |
| 842 | |
| 843 | // no bounding sphere |
| 844 | BoundingSphereInitialize( m_boosterBoundingSphere ); |
| 845 | // TODO: BoundingBoxInitialize( m_trailsBoundsMin, m_trailsBoundsMax ); |
| 846 | |
| 847 | // also release the resources |
| 848 | ReleaseResources( TRISTORAGE_ALL ); |
| 849 | } |
| 850 | |
| 851 | // -------------------------------------------------------------------------------- |
| 852 | void EveBoosterSet2::Add( const Matrix* localMatrix, const Vector4* functionality, bool hasTrail, uint32_t atlasIndex0, uint32_t atlasIndex1, float lightScale ) |
no test coverage detected