marc_antoine
18-05-2009 21:54:29
when asigning materials to the ogreNewt bodies, in the collisionCallback demo, the materials are declared like this:
so why is that mMatDefault, has to be declared like that? why not like this?
what's the difference??
thanks in advance.
Cheers!
mMatDefault = m_World->getDefaultMaterialID();
mMatConveyor = new OgreNewt::MaterialID( m_World );
so why is that mMatDefault, has to be declared like that? why not like this?
mMatDefault=new OgreNewt::MaterialID(m_World);
what's the difference??
thanks in advance.
Cheers!