diff options
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) { |