mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026304: Visualization - wrong calculation of point in SelectMgr_RectangularFrustum::DetectedPoint
This commit is contained in:
@@ -776,7 +776,7 @@ Standard_Real SelectMgr_RectangularFrustum::DistToGeometryCenter (const gp_Pnt&
|
||||
// =======================================================================
|
||||
SelectMgr_Vec3 SelectMgr_RectangularFrustum::DetectedPoint (const Standard_Real theDepth) const
|
||||
{
|
||||
return myNearPickedPnt + myViewRayDir * theDepth;
|
||||
return myNearPickedPnt + myViewRayDir.Normalized() * theDepth;
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Reference in New Issue
Block a user