diff options
author | quou <quou@disroot.org> | 2025-03-10 14:08:57 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-03-10 14:09:08 +1100 |
commit | f1e8cfc70fd6c2d4a1b67d8cf2ecdefb65206fe9 (patch) | |
tree | 4c6e99d8c8928f7c6b14b6347134aab417016583 /model.cpp | |
parent | a7ef36bc519dff1700048ba8f21658daa138a81a (diff) |
sort the forward drawlist front-to-back
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -308,6 +308,7 @@ void Model_Instance::update() { ); bound.encompass(bounds[i]); } + centre = bound.min + bound.max * 0.5f; } void Model_Instance::update_cbuffers(Device* dev) { |