diff options
author | quou <quou@disroot.org> | 2025-02-22 23:24:35 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-02-22 23:25:55 +1100 |
commit | 3634e53cc68671a576754d6bb668f585f7e2c53d (patch) | |
tree | 7e22902d96d13d3cecc72c92155de47f8db5f5de /c2.cpp | |
parent | ed5d6dfa2ed08c5a9185f3eb4ffb4deb898ed2af (diff) |
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -836,6 +836,7 @@ struct C2 : public App { Texture& bb = dev->get_texture(hdr_target); pcam.asp = (float)bb.w / (float)bb.h; + renderer.prev_vp = pcam.get_proj() * pcam.get_view(); orbit_cam.update_orbit(*this); pcam.update(); lighting.update(dev, ctx, *world, renderer, scene); |