binds... * alt + m1 in camera: new resizing mode for brushes, curves and doom3 lights with direct and indirect selection methods

This commit is contained in:
Garux
2018-10-06 02:31:05 +03:00
parent f99cf57f27
commit 9c91f4fa78
7 changed files with 410 additions and 30 deletions

View File

@@ -1617,6 +1617,18 @@ void selectReversedPlanes( Selector& selector, const SelectedPlanes& selectedPla
m_dragPlanes.selectReversedPlanes( m_patch.localAABB(), selector, selectedPlanes );
}
void bestPlaneDirect( SelectionTest& test, Plane3& plane, SelectionIntersection& intersection ){
test.BeginMesh( localToWorld() );
m_dragPlanes.bestPlaneDirect( m_patch.localAABB(), test, plane, intersection );
}
void bestPlaneIndirect( SelectionTest& test, Plane3& plane, Vector3& intersection, float& dist, const Vector3& viewer ){
test.BeginMesh( localToWorld() );
m_dragPlanes.bestPlaneIndirect( m_patch.localAABB(), test, plane, intersection, dist, viewer );
}
void selectByPlane( const Plane3& plane ){
m_dragPlanes.selectByPlane( m_patch.localAABB(), plane );
}
void snapComponents( float snap ){
if ( selectedVertices() ) {