SO3Engine
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
w
x
Functions
Variables
Typedefs
a
b
c
d
f
m
p
s
Enumerations
Enumerator
b
c
e
f
h
l
m
n
p
r
s
t
x
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
s
t
u
v
w
Enumerations
a
c
d
e
f
g
h
l
n
p
r
s
v
w
Enumerator
a
b
c
d
e
f
h
l
m
n
o
p
r
s
t
v
Related Symbols
a
c
d
h
i
o
p
s
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
_
b
c
d
f
g
h
i
l
m
n
r
s
t
v
w
z
Variables
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
w
Typedefs
Enumerator
include
External
ogrenewt
OgreNewt_CollisionSerializer.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_COLLISIONSERIALIZER
13
#define _INCLUDE_OGRENEWT_COLLISIONSERIALIZER
14
15
16
#include "
OgreNewt_Prerequisites.h
"
17
#include "
OgreNewt_Collision.h
"
18
19
// OgreNewt namespace. all functions and classes use this namespace.
20
namespace
OgreNewt
21
{
26
class
_OgreNewtExport
CollisionSerializer
:
public
Ogre::Serializer
27
{
28
public
:
29
31
CollisionSerializer
();
32
34
virtual
~CollisionSerializer
();
35
39
void
exportCollision(
const
OgreNewt::CollisionPtr
& collision,
const
Ogre::String& filename);
40
45
// OgreNewt::CollisionPtr importCollision(Ogre::DataStreamPtr& stream, OgreNewt::World* world);
46
OgreNewt::CollisionPtr
importCollision(Ogre::DataStream& stream,
OgreNewt::World
* world);
47
48
private
:
53
static
void
_CDECL _newtonSerializeCallback(
void
* serializeHandle,
const
void
* buffer,
int
size);
54
59
static
void
_CDECL _newtonDeserializeCallback(
void
* deserializeHandle,
void
* buffer,
int
size);
60
};
26
class
_OgreNewtExport
CollisionSerializer
:
public
Ogre::Serializer {
…
};
61
62
63
}
// end NAMESPACE OgreNewt
64
65
#endif
66
// _INCLUDE_OGRENEWT_COLLISIONSERIALIZER
67
OgreNewt_Collision.h
OgreNewt_Prerequisites.h
OgreNewt::Collision
represents a shape for collision detection
Definition
OgreNewt_Collision.h:51
OgreNewt::CollisionSerializer
Definition
OgreNewt_CollisionSerializer.h:27
OgreNewt::World
represents a physics world.
Definition
OgreNewt_World.h:142
OgreNewt
main namespace.
Definition
OgreNewt_BasicFrameListener.h:30
Generated by
1.9.8