nvpro-samples / nvpro_core

shared source code and resources needed for the samples to run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GltfScene::computeSceneDimensions()

bacTlink opened this issue · comments

In gltfscene.cpp, when calculating the bounding box, valMin is updated using locMin. However, locMin is not necessary the minimum after applying the worldMatrix. valMin should be updated using both locMin and locMax. valMax has the same problem.

Thanks for spotting this, a fix is coming shortly.

Looks like Martin-Karl fixed this in ec45464 - thanks again for the issue report!