fp: Fix camera matrix not being set at beginning of frame
This commit is contained in:
parent
3637a24b87
commit
f847f5b0d0
@ -834,6 +834,7 @@ void TELY_DLL_FrameUpdate(void *user_data)
|
|||||||
Dqn_FArray_Add(&game->parent_entity_stack, game->root_entity->handle);
|
Dqn_FArray_Add(&game->parent_entity_stack, game->root_entity->handle);
|
||||||
|
|
||||||
Dqn_M2x3 model_view = FP_Game_CameraModelViewM2x3(game->camera, platform);
|
Dqn_M2x3 model_view = FP_Game_CameraModelViewM2x3(game->camera, platform);
|
||||||
|
TELY_Render_PushTransform(renderer, model_view);
|
||||||
Dqn_V2 world_mouse_p = Dqn_M2x3_MulV2(model_view, input->mouse_p);
|
Dqn_V2 world_mouse_p = Dqn_M2x3_MulV2(model_view, input->mouse_p);
|
||||||
|
|
||||||
// =============================================================================================
|
// =============================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user