misc...
	* draggable renderable transform origin for translate, rotate & scale manipulators
		click w/o move = reset
		move is constraintable to axis with shift pressed
	* highlight manipulators' renderables on mouse hover
	* mouse_moved_epsilon system (0.5% of viewport size) for m1, tunnel selectors, manipulators (except freelook) to make them more fail-safe
This commit is contained in:
Garux
2017-08-02 16:26:21 +03:00
parent a28b531d84
commit 31cef208e0
7 changed files with 387 additions and 140 deletions

View File

@@ -124,7 +124,7 @@ virtual void rotateSelected( const Quaternion& rotation, bool snapOrigin = false
virtual void scaleSelected( const Vector3& scaling, bool snapOrigin = false ) = 0;
virtual void pivotChanged() const = 0;
virtual void setCustomPivotOrigin( Vector3& point ) const = 0;
virtual void setCustomTransformOrigin( const Vector3& origin, const bool set[3] ) const = 0;
};
#include "modulesystem.h"