Guest User

Untitled

a guest
Apr 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].vertexCount=0;
  2. (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].indexCount=0;
  3.  
  4. -(VertexMap *) getMap{
  5. return &texMap;
  6. }
  7.  
  8. typedef std::map<GLuint, VertexInfo> VertexMap;
  9.  
  10. (*[TextureBatcher getSharedTextureBatcher].getMap)[texID].vertexCount=0;
  11.  
  12. typedef std::map<GLunit, VertexInfo*> VertexMap;
  13. VertexMap theMap;
  14.  
  15. theMap[0] = new VertexInfo(...);
  16.  
  17. // now operate on theMap[0] normally
Add Comment
Please, Sign In to add comment