| 285 | } |
| 286 | } |
| 287 | virtual void render(sth_texture* texture) |
| 288 | { |
| 289 | int index = 0; |
| 290 | |
| 291 | float width = 1; |
| 292 | b3AlignedObjectArray<unsigned int> indices; |
| 293 | indices.resize(texture->nverts); |
| 294 | for (int i = 0; i < indices.size(); i++) |
| 295 | { |
| 296 | indices[i] = i; |
| 297 | } |
| 298 | |
| 299 | m_instancingRenderer->drawTexturedTriangleMesh(m_worldPosition, m_worldOrientation, &texture->newverts[0].position.p[0], texture->nverts, &indices[0], indices.size(), m_color, m_textureIndex); |
| 300 | } |
| 301 | }; |
| 302 | |
| 303 | static void printGLString(const char* name, GLenum s) |
nothing calls this directly
no test coverage detected