Look in the direction of the camera

This commit is contained in:
timokoesters
2019-08-24 19:58:28 +02:00
parent 39bd888a7c
commit e90f95bc75
3 changed files with 19 additions and 16 deletions

View File

@ -5,6 +5,7 @@ use vek::*;
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
pub struct Controller {
pub move_dir: Vec2<f32>,
pub look_dir: Vec3<f32>,
pub jump: bool,
pub attack: bool,
pub block: bool,