xorz57 / VerletSFML

Verlet Integration Demo written in C++20

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VerletSFML

Build

image

Changes

  • Enhanced CMakeLists.txt for improved project management.
  • Implemented vcpkg for streamlined dependency management.
  • Conducted thorough source code refactoring to enhance readability by eliminating unnecessary abstractions.
  • Addressed numerous static analysis issues to improve code quality.
  • Integrated glm library for comprehensive mathematical operations.
  • Utilized imgui-sfml for intuitive graphical user interface (GUI) development.
  • Introduced Application class for better organization and structure.
  • Separated tickrate from framerate for improved performance control.
  • Incorporated zoom functionality for enhanced user experience.

Dependencies

How to Build

Linux & macOS

git clone https://github.com/microsoft/vcpkg.git ~/vcpkg
~/vcpkg/bootstrap-vcpkg.sh

git clone https://github.com/xorz57/VerletSFML.git
cd VerletSFML
cmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
ctest --build-config Release

Windows

git clone https://github.com/microsoft/vcpkg.git C:/vcpkg
C:/vcpkg/bootstrap-vcpkg.bat
C:/vcpkg/vcpkg.exe integrate install

git clone https://github.com/xorz57/VerletSFML.git
cd VerletSFML
cmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
ctest --build-config Release

About

Verlet Integration Demo written in C++20

License:MIT License


Languages

Language:C++ 89.9%Language:CMake 10.1%