SO3Engine
OgreNewt_MaterialID.cpp
Go to the documentation of this file.
4
5namespace OgreNewt
6{
7
8
10{
11 m_world = world;
12 id = NewtonMaterialCreateGroupID( m_world->getNewtonWorld() );
13}
14
15MaterialID::MaterialID( const World* world, int ID )
16{
17 m_world = world;
18 id = ID;
19}
20
21
25
26
27
28}
29
MaterialID(const World *world)
constructor
represents a physics world.
NewtonWorld * getNewtonWorld() const
retrieves a pointer to the NewtonWorld