diff options
author | quou <quou@disroot.org> | 2025-01-03 10:02:38 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-03 10:04:16 +1100 |
commit | ef4fca980f59a0b258ea3a48e60a7359839a4bb0 (patch) | |
tree | 04928df6d73118300e73b76bd5ab6e0abc2c923f /model.cpp | |
parent | c22b015b9184cf468781b92015e2aed03cd9721a (diff) |
orbit camera
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ void Model_Instance::update_cbuffers( 0, c * sizeof *mats ); - m4f view_projection = cam.get_proj(); + m4f view_projection = cam.get_proj() * cam.get_view(); for (i = 0; i < c; i++) { Mat_Cbuffer& mat = mats[i]; Material& sm = *meshes[i].material; |