Implement increasing particle sizes. Refs #1.

This commit is contained in:
2018-04-03 19:55:30 +02:00
parent d4d4d6d431
commit ffea333609
5 changed files with 40 additions and 17 deletions

View File

@@ -67,19 +67,6 @@ int main(int argc, char *argv[])
RenderingState::instance().registerControls();
// Enable depth test to fix objects behind you
glEnable(GL_DEPTH_TEST);
// Nicer rendering
glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
glEnable(GL_POLYGON_SMOOTH);
glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
// Start visualisation
glutMainLoop();