Improve the aabb intersection code
Optimized the intersection code and delayed calculation we don't need
until later. This should make it much faster when working with many
bounding volumes per pick, e.g., if we introduce bounding volume
hierarchies.
Change-Id: Ib47a6de384ec257315ca96046ba8f3cf20ac0bfb
Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
Showing
- src/runtimerender/qssgrenderray.cpp 83 additions, 0 deletionssrc/runtimerender/qssgrenderray.cpp
- src/runtimerender/qssgrenderray_p.h 35 additions, 1 deletionsrc/runtimerender/qssgrenderray_p.h
- tests/auto/utils/picking/intersection/tst_intersection.cpp 95 additions, 28 deletionstests/auto/utils/picking/intersection/tst_intersection.cpp
- tests/benchmarks/picking/intersection/tst_intersection.cpp 21 additions, 0 deletionstests/benchmarks/picking/intersection/tst_intersection.cpp
Loading
Please register or sign in to comment