Skip to content

Verlet Integration Demo written in C++20

License

Notifications You must be signed in to change notification settings

xorz57/VerletSFML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Sponsor this project

 

Packages

No packages published

Languages

  • C++ 89.9%
  • CMake 10.1%