X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=gui.h;fp=gui.h;h=c057ce6ebd71f415b84ddd025a68457b9a511577;hb=92ba950580dd4877935e90682cd4f66fead8fed2;hp=99345c1e431eb3fe16e5c30af625f8348c59e820;hpb=fee9867cee40c393a7142178039e8bcda964e004;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/gui.h b/gui.h index 99345c1..c057ce6 100644 --- a/gui.h +++ b/gui.h @@ -35,6 +35,7 @@ void gui_draw(void) ortho.mtx.p[3][3] = 1.0f; m4x3_identity( ortho.transform ); camera_update_view( &ortho ); + m4x4_mul( ortho.mtx.p, ortho.mtx.v, ortho.mtx.pv ); /* HACK */ camera_finalize( &ortho ); gui.factive = vg_lerpf( gui.factive, gui.helper_count?1.0f:0.0f,