feat: refactor spawnpointcallback
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
#include <QVTKOpenGLNativeWidget.h>
|
||||
#include "QT/MainWindow.h"
|
||||
|
||||
// TODO: make LColLayer use a modified spawnpointCallback to spawn multiple particles per interaction
|
||||
// TODO: make Lagrangian Layers share one vtkPoints for seemless technique swiching
|
||||
// TODO: add text gui explaining the above?
|
||||
// TODO: yoink Robin's isNearestNeighbourZero function to improve beaching
|
||||
// TODO: add a button to reset the simulation - set time=0 and reset points array of particles.
|
||||
// FIXME: go over each function and add const where appropriate.
|
||||
@@ -13,6 +11,8 @@
|
||||
// COULDHAVE: the Legends are just statically rendered images; ideally these would be created along with the luts and then displayed accordingly.
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
srand (static_cast <unsigned> (time(0)));
|
||||
|
||||
QSurfaceFormat::setDefaultFormat(QVTKOpenGLNativeWidget::defaultFormat());
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user