]> OCCT Git - occt.git/commit
0031798: Visualization, SelectMgr_ViewerSelector - fix comparing depth of direct... CR31798_3
authordrochalo <diogo.lopes@opencascade.com>
Tue, 3 Oct 2023 08:52:42 +0000 (09:52 +0100)
committerdrochalo <diogo.lopes@opencascade.com>
Tue, 3 Oct 2023 08:52:42 +0000 (09:52 +0100)
commit514d047df7eb4a4c3fe94d661ca6f32e5687dff5
tree2829c4f0c66b71aeb6bdcb135c2fe9a392998313
parent8bc5b0f89e83b8463d502bb67f9e1f2e033049f2
 0031798: Visualization, SelectMgr_ViewerSelector - fix comparing depth of direct and indirect triangle hits

Replaced bias approach to depth test criterion to instead use bool that marks if a hit was direct or not. The bool is used in processing elements and in matching methods.
src/Select3D/Select3D_SensitivePrimitiveArray.cxx
src/Select3D/Select3D_SensitiveSet.cxx
src/SelectBasics/SelectBasics_PickResult.hxx
src/SelectMgr/SelectMgr_RectangularFrustum.cxx