X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrlugburz;a=blobdiff_plain;f=src%2Fplayer.h;fp=src%2Fplayer.h;h=f7451c9661caf2985c5f3a2f33a4ff3a85ea28e1;hp=d4d47b3fe01ada9b62617a6810a04cf209bb9013;hb=f242719e98650720b5d3ed43aca62a4f1fe3ec10;hpb=3c7da38bbf5936211348c5b6c31874364060dca8 diff --git a/src/player.h b/src/player.h index d4d47b3..f7451c9 100644 --- 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 */