twn_lines.c: 3d case

This commit is contained in:
veclavtalica
2025-03-01 03:46:11 +03:00
parent 5911cbd980
commit 307d5552f6
6 changed files with 62 additions and 6 deletions

View File

@ -32,7 +32,7 @@ static void process_fly_mode(State *state) {
scn->looking_direction = dir_and_up.direction;
const Vec3 right = m_vec_norm(m_vec_cross(dir_and_up.direction, dir_and_up.up));
const float speed = 0.04f; /* TODO: put this in a better place */
const float speed = 0.1f; /* TODO: put this in a better place */
if (input_action_pressed("player_left"))
scn->pos = vec3_sub(scn->pos, m_vec_scale(right, speed));