hopefully working implementation of mpfNoSelect from this discussion: http://glest.org/glest_board/index.php?topic=8165.msg82932#msg82932

This commit is contained in:
Titus Tscharntke
2012-07-14 21:29:15 +00:00
parent 62bc601cc6
commit d10d5fc770
8 changed files with 33 additions and 9 deletions

View File

@@ -18,6 +18,14 @@
namespace Shared{ namespace Graphics{
enum RenderMode{
rmNormal,
rmSelection,
renderModeCount
};
class Texture;
// =====================================================
@@ -50,7 +58,7 @@ public:
virtual void begin(bool renderNormals, bool renderTextures, bool renderColors, MeshCallback *meshCallback= NULL)=0;
virtual void end()=0;
virtual void render(Model *model)=0;
virtual void render(Model *model,int renderMode=rmNormal)=0;
virtual void renderNormalsOnly(Model *model)=0;
};