feat: refactor spawnpointcallback

This commit is contained in:
djaidjai committed 2024-05-30 18:14:27 +02:00
1 parent c825e63762
commit 9ecdc5eb43
12 files changed
+206 -85

No files matched your search

+2 -2
View File
@@ -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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.