vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
AvatarMovement.h
Go to the documentation of this file.
1
#ifndef AVATARMOVEMENT_H
2
#define AVATARMOVEMENT_H
3
4
#include "../EditorController/ControllableAbility.h"
5
#include <
vrecko/Ability.h
>
6
#include <
vrecko/World.h
>
7
//#include <vrecko/EnvironmentObject.h>
8
9
using namespace
vrecko;
10
11
namespace
APEditorQAbilities {
12
13
class
AvatarMovement
:
public
ControllableAbility
{
14
public
:
15
AvatarMovement
();
16
virtual
~
AvatarMovement
();
17
18
void
update(
void
);
19
20
protected
:
21
virtual
void
fillDefaultInfo();
22
23
virtual
bool
activate();
24
virtual
void
deactivate();
25
26
osg::Vec3
lastRelPointerPos
;
// last pointer position relative to AvatarView
27
osg::Quat
lastRelPointerRot
;
// ... and last pointer rotation
28
29
bool
bFirstUpdate
;
30
};
31
32
}
33
34
35
#endif
include
vreckoAP
EditorQAbilities
AvatarMovement.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1