-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add bounds min,max #978
base: devel
Are you sure you want to change the base?
add bounds min,max #978
Conversation
shards/gfx/gltf/gltf.cpp
Outdated
return linalg::mul(linalg::mul(linalg::mul(matrix, T), R), S); | ||
} | ||
|
||
void computeBoundingBox(const tinygltf::Node &node, const tinygltf::Model &model, linalg::vec<double, 3> &global_min, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight waste in case a model reuses a lot of meshes, you could cache bounds per mesh and just retransform them later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah cos it goes by node hmmm are you collecting meshes somewhere already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a bunch of maps in the Loader structure
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #978 +/- ##
==========================================
+ Coverage 80.18% 80.21% +0.03%
==========================================
Files 335 335
Lines 53786 53864 +78
==========================================
+ Hits 43129 43208 +79
+ Misses 10657 10656 -1 ☔ View full report in Codecov by Sentry. |
Description
Test plan