| 251 | } |
| 252 | |
| 253 | void DrawNode::updateBuffers() |
| 254 | { |
| 255 | if (_trianglesDirty) |
| 256 | { |
| 257 | _trianglesDirty = false; |
| 258 | udpateCommand(_customCommandTriangle, _triangles); |
| 259 | } |
| 260 | |
| 261 | if (_pointsDirty) |
| 262 | { |
| 263 | _pointsDirty = false; |
| 264 | udpateCommand(_customCommandPoint, _points); |
| 265 | } |
| 266 | |
| 267 | if (_linesDirty) |
| 268 | { |
| 269 | _linesDirty = false; |
| 270 | udpateCommand(_customCommandLine, _lines); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | void DrawNode::drawPoint(const Vec2& position, |
| 275 | const float pointSize, |
nothing calls this directly
no test coverage detected