Skip to content

BrendanKelly84213/constraints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constraints Demo

A simple physics simulation demo of constraints written in C++, renderered using SDL2

Building and running Linux:

make 
./run

On WSL it seems like detecting hardware acceleration gives a false positive (or something) and it's just a blank screen. As a workaround you can force software rendering:

make 
./run -s #Force software rendering

Dependencies

This program depends on SDL2

On Debian / Ubuntu systems: # apt install libsdl2-dev

On Fedora like systems: # yum install sdl2-devel

On Arch based systems: # sudo pacman -S sdl2

See here for installing on Mac OS: https://lazyfoo.net/tutorials/SDL/01_hello_SDL/mac/index.php

And here for windows: https://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/index.php

Or build from source: https://github.com/libsdl-org/SDL/releases/tag/release-2.24.1 with:

./configure
make all
make install

About

An implementation of constraints physics simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors