-----------------------------------------------------------------------
| 961 | } |
| 962 | //----------------------------------------------------------------------- |
| 963 | void ParticleSystem::setDefaultWidth( Real width ) |
| 964 | { |
| 965 | assert( width >= 0 && "Particle dimensions can not be negative" ); |
| 966 | mDefaultWidth = width; |
| 967 | if( mRenderer ) |
| 968 | { |
| 969 | mRenderer->_notifyDefaultDimensions( mDefaultWidth, mDefaultHeight ); |
| 970 | } |
| 971 | } |
| 972 | //----------------------------------------------------------------------- |
| 973 | Real ParticleSystem::getDefaultWidth() const { return mDefaultWidth; } |
| 974 | //----------------------------------------------------------------------- |
no test coverage detected