Simulate thousands of n-Pendula (up to 32) with Position Based Dynamics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
283 B

1 year ago
#include <QApplication>
1 year ago
#include <QSurfaceFormat>
#include "MainWindow.h"
1 year ago
1 year ago
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
1 year ago
QSurfaceFormat fmt;
fmt.setSamples(4);
QSurfaceFormat::setDefaultFormat(fmt);
MainWindow w;
w.show();
1 year ago
return QApplication::exec();
1 year ago
}