This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "GridDrawer.h" | |
#include "Grid.h" | |
GridDrawer::GridDrawer(Grid& grid) | |
:grid(grid) | |
,grid_prog(0) | |
,grid_vbo(0) | |
,grid_vao(0) | |
,u_projection_matrix(0) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# cocos2d-x v3.0 renderer | |
# | |
# for further info read: https://docs.google.com/document/d/17zjC55vbP_PYTftTZEuvqXuMb9PbYNxRFu0EGTULPK8/edit#heading=h.3kpkd5ktk6p1 | |
# | |
# Populates the VBO. | |
# It stops if the command is a group or if | |
# the VBO's capacity is not enough for the current Quad Command |