src/gl/gridprogram.cpp

changeset 92
c438a7db7c52
parent 90
e234edb5e613
child 102
9f435f66bd0c
child 118
8e1c9f18ae15
equal deleted inserted replaced
89:7abaf1d64719 92:c438a7db7c52
105 return sizeof data[0]; 105 return sizeof data[0];
106 } 106 }
107 107
108 int GridProgram::vertexCount() const 108 int GridProgram::vertexCount() const
109 { 109 {
110 return countof(data); 110 return glm::countof(data);
111 } 111 }
112 112
113 void GridProgram::setupVertexArrays() 113 void GridProgram::setupVertexArrays()
114 { 114 {
115 this->program->enableAttributeArray(0); 115 this->program->enableAttributeArray(0);

mercurial