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

@@ -2202,8 +2202,8 @@ void OpenGLShader::construct( const char* name ){
state.m_pointsize = 4;
}
else if ( string_equal( name + 1, "BIGPOINT" ) ) {
state.m_state = RENDER_COLOURARRAY | RENDER_COLOURWRITE | RENDER_DEPTHWRITE;
state.m_sort = OpenGLState::eSortControlFirst;
state.m_state = RENDER_COLOURARRAY | RENDER_COLOURWRITE | RENDER_DEPTHWRITE | RENDER_OVERRIDE;
state.m_sort = OpenGLState::eSortGUI1 + 1;
state.m_pointsize = 6;
}
else if ( string_equal( name + 1, "PIVOT" ) ) {