FLAMEGPU / FLAMEGPU2-visualiser

Cross platform real-time OpenGL visualiser for FLAMEGPU2 models.
1 stars 2 forks source link

Empty line drawing throws exception #113

Closed Robadob closed 1 year ago

Robadob commented 1 year ago
auto pen = m_vis.newLineSketch(1, 1, 1, 1.0f);  // white
m_vis.activate();

Probably want to silently skip rendering empty sketches, or throw a proper exception.

Robadob commented 1 year ago

Invalid, a proper exception is thrown.