-----------------------------------------------------------------------
| 973 | Real ParticleSystem::getDefaultWidth() const { return mDefaultWidth; } |
| 974 | //----------------------------------------------------------------------- |
| 975 | void ParticleSystem::setDefaultHeight( Real height ) |
| 976 | { |
| 977 | assert( height >= 0 && "Particle dimensions can not be negative" ); |
| 978 | mDefaultHeight = height; |
| 979 | if( mRenderer ) |
| 980 | { |
| 981 | mRenderer->_notifyDefaultDimensions( mDefaultWidth, mDefaultHeight ); |
| 982 | } |
| 983 | } |
| 984 | //----------------------------------------------------------------------- |
| 985 | Real ParticleSystem::getDefaultHeight() const { return mDefaultHeight; } |
| 986 | //----------------------------------------------------------------------- |
no test coverage detected