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
PhysicsSphere.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
PhysicsSphere
:
public
ege::PhysicsShape
{
15
public
:
16
PhysicsSphere
() {};
17
virtual
~
PhysicsSphere
() {};
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::sphere;
24
};
25
private
:
26
float
m_radius;
// props["radius"] = obj.scale.x
27
public
:
28
float
getRadius()
const
{
29
return
m_radius;
30
};
31
void
setRadius(
float
_radius) {
32
m_radius = _radius;
33
};
34
private
:
35
virtual
const
ege::PhysicsSphere
* toSphere()
const
{
36
return
this
;
37
};
38
virtual
ege::PhysicsSphere
* toSphere() {
39
return
this
;
40
};
41
};
42
}
43
types.hpp
ege
Definition:
AudioElement.hpp:8
ege::PhysicsSphere
Definition:
PhysicsSphere.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