/n-body

N-body simulation using Qt and OpenGL

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

N Body Simulation

An N-body simulation approximates the motion of particles, often specifically particles that interact with one another through some type of physical forces.

Development

Project uses C++17 along with Qt5 and OpenGL 4.1. Read about following:

Just Build and Run (from the main directory)

./make.sh

Just Compile and Build

mkdir bin
cd bin
cmake ../
make

Coding Style

The project using LLVM coding style and clang-format is used to format the project. In order to format the whole project, do the following:

clang-format -i **/*.cpp **/*.h