MCPcopy Create free account
hub / github.com/comaps/comaps / RefreshProjection

Method RefreshProjection

libs/drape_frontend/frontend_renderer.cpp:1895–1899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1893}
1894
1895void FrontendRenderer::RefreshProjection(ScreenBase const & screen)
1896{
1897 auto m = dp::MakeProjection(m_apiVersion, 0.0f, screen.GetWidth(), screen.GetHeight(), 0.0f);
1898 m_frameValues.m_projection = glsl::make_mat4(m.data());
1899}
1900
1901void FrontendRenderer::RefreshZScale(ScreenBase const & screen)
1902{

Callers

nothing calls this directly

Calls 4

MakeProjectionFunction · 0.85
GetWidthMethod · 0.45
GetHeightMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected