diff --git a/maths b/maths index 971f809f..fa04fa5d 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 971f809ff86d61743840b2811544e5a3d5b1fe98 +Subproject commit fa04fa5d4ddafd07a6f0bec7c5a04682e780f293 diff --git a/mplot/compoundray/interop.h b/mplot/compoundray/interop.h index d5a72a61..745d740d 100644 --- a/mplot/compoundray/interop.h +++ b/mplot/compoundray/interop.h @@ -60,7 +60,7 @@ namespace mplot::compoundray for (unsigned int mi = 0; mi < mymeshes.size(); ++mi) { sm::mat44 tfm; for (unsigned int tfi = 0; tfi < 16; ++tfi) { tfm[tfi] = mymeshes[mi]->transform[tfi]; } - tfm.transpose(); // Need to transpose tfm after copying data + tfm.transpose_inplace(); // Need to transpose tfm after copying data if constexpr (debug_meshload) { std::cout << "A mesh called " << mymeshes[mi]->name << " with scene transform\n" << tfm << "\n"; }