Remove primitive types not supported in OpenGL 3+

I removed old primitive types that do not work with modern OpenGL.
This commit is contained in:
Caleb Butler
2023-09-03 17:18:43 -04:00
committed by sfan5
parent c6b06533f3
commit 3492fd0d2d
3 changed files with 0 additions and 32 deletions

View File

@ -172,9 +172,6 @@ namespace scene
case scene::EPT_TRIANGLE_STRIP: return (indexCount-2);
case scene::EPT_TRIANGLE_FAN: return (indexCount-2);
case scene::EPT_TRIANGLES: return indexCount/3;
case scene::EPT_QUAD_STRIP: return (indexCount-2)/2;
case scene::EPT_QUADS: return indexCount/4;
case scene::EPT_POLYGON: return indexCount; // (not really primitives, that would be 1, works like line_strip)
case scene::EPT_POINT_SPRITES: return indexCount;
}
return 0;