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
PhysicsCone.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <
etk/types.hpp
>
9
#include <
ege/physicsShape/PhysicsShape.hpp
>
10
11
namespace
ege
{
12
class
PhysicsCone
:
public
ege::PhysicsShape
{
13
public
:
14
PhysicsCone
() {};
15
virtual
~
PhysicsCone
() {};
16
public
:
17
virtual
bool
parse(
const
char
* _line);
18
virtual
void
display() {};
19
public
:
20
virtual
enum
ege::PhysicsShape::type getType()
const
{
21
return
ege::PhysicsShape::cone;
22
};
23
private
:
24
float
m_radius;
25
public
:
26
float
getRadius()
const
{
27
return
m_radius;
28
};
29
private
:
30
float
m_height;
31
public
:
32
float
getHeight()
const
{
33
return
m_height;
34
};
35
public
:
36
virtual
const
ege::PhysicsCone
* toCone()
const
{
37
return
this
;
38
};
39
virtual
ege::PhysicsCone
* toCone() {
40
return
this
;
41
};
42
};
43
}
44
types.hpp
ege
Definition:
AudioElement.hpp:8
PhysicsShape.hpp
ege::PhysicsCone
Definition:
PhysicsCone.hpp:12
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