misc...
	* selection system: fixes of: selecting point behind point (not perfectly precise distance)
					selecting occluded objects and faces via direct and indirect hits
	* select models from back in 2d
This commit is contained in:
Garux
2017-08-02 09:53:56 +03:00
parent 6eee961fcc
commit 3f1c97ebeb
6 changed files with 158 additions and 142 deletions

View File

@@ -211,7 +211,7 @@ void render( Renderer& renderer, const Matrix4& localToWorld ) const {
}
void testSelect( Selector& selector, SelectionTest& test, const Matrix4& localToWorld ){
test.BeginMesh( localToWorld );
test.BeginMesh( localToWorld, true );
SelectionIntersection best;
test.TestTriangles(