Added overlay rendering support for builders + return of start/end labels.

This commit is contained in:
Mikko Mononen
2009-07-01 07:22:18 +00:00
parent 22865e60af
commit b0cc29570e
12 changed files with 120 additions and 5552 deletions

View File

@@ -5,6 +5,7 @@
#include "SDL.h"
#include "SDL_Opengl.h"
#include "imgui.h"
#include "glfont.h"
#include "Builder.h"
#include "BuilderStatMeshSimple.h"
#include "Recast.h"
@@ -240,6 +241,11 @@ void BuilderStatMeshSimple::handleRender()
}
void BuilderStatMeshSimple::handleRenderOverlay(class GLFont* font, double* proj, double* model, int* view)
{
toolRenderOverlay(font, proj, model, view);
}
void BuilderStatMeshSimple::handleMeshChanged(const float* verts, int nverts,
const int* tris, const float* trinorms, int ntris,
const float* bmin, const float* bmax)