|
pure-cpp 1.0.0
A C++ physics simulation benchmark comparing performance with Python implementations
|
Implements the Qt3D window for displaying spherical moving bodies. More...
#include "display.hpp"#include <QApplication>#include <QColor>#include <QTimer>#include <QVector3D>#include <Qt3DCore/QEntity>#include <Qt3DCore/QTransform>#include <Qt3DExtras/QConeMesh>#include <Qt3DExtras/QCylinderMesh>#include <Qt3DExtras/QDiffuseSpecularMaterial>#include <Qt3DExtras/QSphereMesh>#include <Qt3DExtras/Qt3DWindow>#include <chrono>#include <random>#include "app_profiler.hpp"#include "pcg_random.hpp"#include "space.hpp"#include "moc_display.cpp"
Go to the source code of this file.
Implements the Qt3D window for displaying spherical moving bodies.
This file is part of the pure C++ benchmark.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Definition in file display.cpp.