Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].vertexCount=0;
- (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].indexCount=0;
- -(VertexMap *) getMap{
- return &texMap;
- }
- typedef std::map<GLuint, VertexInfo> VertexMap;
- (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].vertexCount=0;
- typedef std::map<GLunit, VertexInfo*> VertexMap;
- VertexMap theMap;
- theMap[0] = new VertexInfo(...);
- // now operate on theMap[0] normally
Add Comment
Please, Sign In to add comment