SO3Engine
src
External
ogrenewt
OgreNewt_MaterialID.cpp
Go to the documentation of this file.
1
#include "
External/ogrenewt/OgreNewt_Stdafx.h
"
2
#include "
External/ogrenewt/OgreNewt_MaterialID.h
"
3
#include "
External/ogrenewt/OgreNewt_World.h
"
4
5
namespace
OgreNewt
6
{
7
8
9
MaterialID::MaterialID
(
const
World
* world )
10
{
11
m_world = world;
12
id
= NewtonMaterialCreateGroupID( m_world->
getNewtonWorld
() );
13
}
14
15
MaterialID::MaterialID
(
const
World
* world,
int
ID )
16
{
17
m_world = world;
18
id
= ID;
19
}
20
21
22
MaterialID::~MaterialID
()
23
{
24
}
25
26
27
28
}
29
OgreNewt_MaterialID.h
OgreNewt_Stdafx.h
OgreNewt_World.h
OgreNewt::MaterialID::~MaterialID
~MaterialID()
destructor
Definition
OgreNewt_MaterialID.cpp:22
OgreNewt::MaterialID::MaterialID
MaterialID(const World *world)
constructor
Definition
OgreNewt_MaterialID.cpp:9
OgreNewt::World
represents a physics world.
Definition
OgreNewt_World.h:142
OgreNewt::World::getNewtonWorld
NewtonWorld * getNewtonWorld() const
retrieves a pointer to the NewtonWorld
Definition
OgreNewt_World.h:284
OgreNewt
main namespace.
Definition
OgreNewt_BasicFrameListener.h:30
Generated by
1.9.8