SO3Engine
include
External
ogrenewt
OgreNewt_MaterialID.h
Go to the documentation of this file.
1
/*
2
OgreNewt Library
3
4
Ogre implementation of Newton Game Dynamics SDK
5
6
OgreNewt basically has no license, you may use any or all of the library however you desire... I hope it can help you in any way.
7
8
by Walaber
9
some changes by melven
10
11
*/
12
#ifndef _INCLUDE_OGRENEWT_MATERIALID
13
#define _INCLUDE_OGRENEWT_MATERIALID
14
15
16
#include "
OgreNewt_Prerequisites.h
"
17
18
// OgreNewt namespace. all functions and classes use this namespace.
19
namespace
OgreNewt
20
{
21
22
24
class
_OgreNewtExport
MaterialID
25
{
26
public
:
27
29
32
MaterialID
(
const
World
* world );
33
35
~MaterialID
();
36
38
int
getID
()
const
{
return
id; }
39
40
protected
:
41
42
friend
class
OgreNewt::World
;
43
47
MaterialID
(
const
World
* world,
int
ID );
48
49
private
:
50
int
id;
51
const
OgreNewt::World
* m_world;
52
53
};
54
55
56
57
}
// end NAMESPACE OgreNewt
58
59
#endif
60
// _INCLUDE_OGRENEWT_MATERIALID
61
OgreNewt_Prerequisites.h
OgreNewt::MaterialID
represents a material
Definition
OgreNewt_MaterialID.h:25
OgreNewt::MaterialID::getID
int getID() const
get Newton-assigned material ID.
Definition
OgreNewt_MaterialID.h:38
OgreNewt::World
represents a physics world.
Definition
OgreNewt_World.h:142
OgreNewt
main namespace.
Definition
OgreNewt_BasicFrameListener.h:30
Generated by
1.9.8