* fix alt + m1 indirect faces picking, when object is partially or fully out of camera view

refactor math functions
This commit is contained in:
Garux
2019-04-28 20:54:29 +03:00
parent b9a43074f0
commit 71c63fbdc6
12 changed files with 218 additions and 287 deletions

View File

@@ -300,7 +300,7 @@ virtual void selectPlanes( Selector& selector, SelectionTest& test, const PlaneC
virtual void selectReversedPlanes( Selector& selector, const SelectedPlanes& selectedPlanes ) = 0;
virtual void bestPlaneDirect( SelectionTest& test, Plane3& plane, SelectionIntersection& intersection ) = 0;
virtual void bestPlaneIndirect( SelectionTest& test, Plane3& plane, Vector3& intersection, float& dist, const Vector3& viewer ) = 0;
virtual void bestPlaneIndirect( SelectionTest& test, Plane3& plane, Vector3& intersection, float& dist ) = 0;
virtual void selectByPlane( const Plane3& plane ) = 0;
};