projects
/
vrlugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
player movement (to be cont.)
[vrlugburz]
/
src
/
player.h
diff --git
a/src/player.h
b/src/player.h
index
d4d47b3
..
f7451c9
100644
(file)
--- a/
src/player.h
+++ b/
src/player.h
@@
-13,6
+13,7
@@
struct player {
cgm_vec3 vpos; /* VR position within the cell */
cgm_quat vrot; /* VR orientation */
+ int dir; /* cardinal direction, clockwise, 0 is west */
float height;
/* view matrix, derived from all of the above by upd_player_xform */