X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=menu.h;h=8da5026898ad5c0bc693526f94b2c42164d0fb63;hb=43dc3602effdf0af4f22ce78c0e76565c0be03e6;hp=c2a963e0071c2ae954ce028d302ba8c66100ab3a;hpb=2c91a71533b4ce86b9e7fd708420ae05c74d8f52;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/menu.h b/menu.h index c2a963e..8da5026 100644 --- a/menu.h +++ b/menu.h @@ -635,7 +635,7 @@ static void menu_render(void){ v3f v0; mdl_transform_vector( &menu.cam->transform, (v3f){0.0f,-1.0f,0.0f}, v0 ); - player_vector_angles( target.angles, v0, 1.0f, 0.0f ); + v3_angles( v0, target.angles ); camera_lerp( &menu.view, &target, rate, &menu.view );