misc...
	* new very fast entity names rendering system
	* render entity names in cam within < 512u dist or if selected
This commit is contained in:
Garux
2017-08-02 09:36:47 +03:00
parent bec8719fe1
commit 43d4204697
16 changed files with 556 additions and 45 deletions

View File

@@ -65,7 +65,8 @@ enum ESort
eSortHighlight = 1027,
eSortOverlayFirst = 1028,
eSortOverlayLast = 2047,
eSortControlFirst = 2048,
eSortText = 2048,
eSortControlFirst = 2049,
eSortControlLast = 3071,
eSortGUI0 = 3072,
eSortGUI1 = 3073,

View File

@@ -52,7 +52,8 @@ const unsigned int RENDER_TEXTURE = 1 << 18; // glEnable(GL_TEXTURE_2D)
const unsigned int RENDER_BUMP = 1 << 19;
const unsigned int RENDER_PROGRAM = 1 << 20;
const unsigned int RENDER_SCREEN = 1 << 21;
const unsigned int RENDER_OVERRIDE = 1 << 22;
const unsigned int RENDER_TEXT = 1 << 22;
const unsigned int RENDER_OVERRIDE = 1 << 23;
typedef unsigned int RenderStateFlags;