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.
 
 
 
 

16 lines
283 B

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