MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / setDefaultWidth

Method setDefaultWidth

OgreMain/src/OgreParticleSystem.cpp:963–971  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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 //-----------------------------------------------------------------------

Callers 1

doSetMethod · 0.45

Calls 1

Tested by

no test coverage detected