Permalink
Browse files

Remove code never executed.

  • Loading branch information...
1 parent 4c9d188 commit cb161a2774fda07412a0c0ad8873034cdca7e8bb Vincent Lejeune committed Jun 20, 2014
Showing with 0 additions and 24 deletions.
  1. +0 −24 src/graphics/stkmeshscenenode.cpp
@@ -209,33 +209,9 @@ void STKMeshSceneNode::drawSolidPass2(const GLMesh &mesh, ShadedMaterial type)
{
switch (type)
{
- case SM_SPHEREMAP:
- drawSphereMap(mesh, ModelViewProjectionMatrix, TransposeInverseModelView);
- break;
- case SM_SPLATTING:
- drawSplatting(mesh, ModelViewProjectionMatrix);
- break;
- case SM_ALPHA_REF_TEXTURE:
- drawObjectRefPass2(mesh, ModelViewProjectionMatrix, mesh.TextureMatrix);
- break;
case SM_GRASS:
drawGrassPass2(mesh, ModelViewProjectionMatrix, windDir);
break;
- case SM_RIMLIT:
- drawObjectRimLimit(mesh, ModelViewProjectionMatrix, TransposeInverseModelView, core::matrix4::EM4CONST_IDENTITY);
- break;
- case SM_UNLIT:
- drawObjectUnlit(mesh, ModelViewProjectionMatrix);
- break;
- case SM_DETAILS:
- drawDetailledObjectPass2(mesh, ModelViewProjectionMatrix);
- break;
- case SM_UNTEXTURED:
- drawUntexturedObject(mesh, ModelViewProjectionMatrix);
- break;
- case SM_DEFAULT:
- drawObjectPass2(mesh, ModelViewProjectionMatrix, mesh.TextureMatrix);
- break;
default:
assert(0 && "Wrong shaded material");
break;

0 comments on commit cb161a2

Please sign in to comment.