Skip to content

KBOX1234/sphysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Physics Library

This project is a small lightweight physics engine
This was made by a dyslexic 15-year-old in his mom's basement so sorry for the bad spelling
This library is not a full-on physics engine but aims to give you the tools to do so yourself
The library is made to be as flexible as possible meaning that it will run on practically anything, with the only
soft requirement being that your CPU has an FPU (still runs but is slower without). It will also work with any game engine/graphics library.
It's released under the LGPL 2.1 license so it's free to use in any project (some credit would be nice tho :).

If you don't like the spelling just dm me some corrected code at kboxkbox1234@gmail.com

Setting up

The only requirement is to have math.h installed (it probably is already installed)

Just dump the sphysics.h and the lib folder in your project and include it

Simplest build command: gcc your_file.c -o your_program

If you want to run the included demo, you will need to install raylib which is the graphics library used to visualize everything.
You don't need raylib to use the library

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published