pure-cpp 1.0.0
A C++ physics simulation benchmark comparing performance with Python implementations
physics_worker.hpp File Reference

Worker object to run the physics simulation in a separate thread. More...

#include <QObject>
#include <QVector>
#include <tuple>
#include "body.hpp"
#include "config.hpp"
Include dependency graph for physics_worker.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Model::PhysicsWorker
 Runs the physics simulation in a separate thread to keep the UI responsive. More...
 

Functions

 Q_DECLARE_METATYPE (Model::Vector3dVec)
 

Detailed Description

Worker object to run the physics simulation in a separate thread.

Author
Le Bars, Yoann

This file is part of the pure C++ benchmark.

Definition in file physics_worker.hpp.