diff options
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; |