projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/nuclear/code/laserbrain/demo
[laserbrain_demo]
/
src
/
avatar.h
diff --git
a/src/avatar.h
b/src/avatar.h
index
6c3521e
..
6c3aa41
100644
(file)
--- a/
src/avatar.h
+++ b/
src/avatar.h
@@
-1,6
+1,8
@@
#ifndef AVATAR_H_
#define AVATAR_H_
#ifndef AVATAR_H_
#define AVATAR_H_
+// TODO incomplete
+
#include <gmath/gmath.h>
/* when head-tracking is available, head_tilt is ignored, and the
#include <gmath/gmath.h>
/* when head-tracking is available, head_tilt is ignored, and the
@@
-13,12
+15,9
@@
public:
Vec3 pos;
float body_rot;
Quat head_rot; // used when head-tracking
Vec3 pos;
float body_rot;
Quat head_rot; // used when head-tracking
- float head_tilt; // used for mouselook
+ float head_alt; // used for mouselook
Avatar();
Avatar();
- ~Avatar();
-
- void draw() const;
};
#endif // AVATAR_H_
};
#endif // AVATAR_H_