Ewol Game engine (based on bullet lib) 0.3.0
Main Page
Related Pages
Namespaces
Classes
Files
Link-libs
lutin
ewol
echrono
etk
ejson
exml
esvg
egami
gale
ege
elog
ememory
enet
eproperty
esignal
etranslate
zeus
audio-ess
audio
audio-drain
audio-orchestra
audio-river
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
framework
atria-soft
ege
ege
physicsShape
PhysicsCapsule.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
9
#include <
etk/types.hpp
>
10
#include <
ege/physicsShape/PhysicsShape.hpp
>
11
12
13
namespace
ege
{
14
class
PhysicsCapsule
:
public
ege::PhysicsShape
{
15
public
:
16
PhysicsCapsule
() {};
17
virtual
~
PhysicsCapsule
() {};
18
public
:
19
virtual
bool
parse(
const
char
* _line);
20
virtual
void
display() {};
21
public
:
22
virtual
enum
ege::PhysicsShape::type getType()
const
{
23
return
ege::PhysicsShape::capsule;
24
};
25
private
:
26
float
m_radius;
27
public
:
28
float
getRadius()
const
{
29
return
m_radius;
30
};
31
private
:
32
float
m_height;
33
public
:
34
float
getHeight()
const
{
35
return
m_height;
36
};
37
public
:
38
virtual
const
ege::PhysicsCapsule
* toCapsule()
const
{
39
return
this
;
40
};
41
virtual
ege::PhysicsCapsule
* toCapsule() {
42
return
this
;
43
};
44
};
45
}
46
types.hpp
ege
Definition:
AudioElement.hpp:8
ege::PhysicsCapsule
Definition:
PhysicsCapsule.hpp:14
PhysicsShape.hpp
ege::PhysicsShape
Definition:
PhysicsShape.hpp:22
Generated on Mon Oct 24 2016 15:35:54 for Ewol Game engine (based on bullet lib) by
1.8.12