mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0032604: Visualization, AIS_LightSource - improve dragging robustness
This commit is contained in:
@@ -58,6 +58,12 @@ public:
|
||||
//! Returns the position of detected point on the sphere.
|
||||
const gp_Pnt& LastDetectedPoint() const { return myLastDetectedPoint; }
|
||||
|
||||
//! Invalidate the position of detected point on the sphere.
|
||||
void ResetLastDetectedPoint()
|
||||
{
|
||||
myLastDetectedPoint = gp_Pnt (RealLast(), RealLast(), RealLast());
|
||||
}
|
||||
|
||||
protected:
|
||||
gp_Pnt myCenter;
|
||||
gp_Pnt myLastDetectedPoint;
|
||||
|
Reference in New Issue
Block a user