Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osmium

A fast 2D physics engine in C++ featuring rigid body dynamics, SAT-based collision detection, impulse-based resolution, a dynamic quadtree for broad-phase optimization, and multithreaded execution. Includes an interactive ImGui debugger.

Demo

Link

Getting Started

Prerequisites

  • A C++20 compatible compiler (e.g., GCC, Clang, MSVC).
  • CMake (for building the project).
  • GLFW (for windowing and OpenGL context).
  • OpenGL (typically available with your graphics drivers).

Building the Project

  1. Clone the repository:

    git clone https://github.com/FinalTrack/Osmium.git
    cd Osmium
  2. Create a build directory:

    mkdir build
    cd build
  3. Run CMake to configure the project:

    cmake ..

    *If GLFW is not found automatically, you might need to install it via your system's package manager

  4. Build the project:

    cmake --build .

Running the Application

After a successful build, you can run the executable from the build directory:

./physics

About

Rigid body physics engine

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages