- Notifications
You must be signed in to change notification settings - Fork1
A simple physics simulation written entirely in C
License
NotificationsYou must be signed in to change notification settings
willow385/physics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
physics - a personal project of {Dante,Claire} FalzoneLicensed under GNU GPL 3.0This is a simple physics simulation showing a bunch of particlesthat respond to movements of the mouse. I wrote it entirely in Cboth to demonstrate that I could do so and to demonstrate that Inow know how to do it the Right Way (with headerfiles and a Makefile, etc). For comparison see my project "djf-3d", whose URL ishttps://github.com/DanteFalzone0/djf-3d, where everything is alldone in very much Not The Right Way.Run `make` to compile the program normally; this produces a filecalled `physics.x86` which is executable. Some other make rules: run - run the program. debug - compile with debugging symbols for gdb. asm - compile into Assembly for you to read if you want to. clean - remove the executable and object files from /src/. prof - make a program that will output gmon.out for gprof. clean-prof - remove both the executable and gmon.out. clean-asm - remove Assembly files, if present, from /src/.See alsohttps://github.com/DanteFalzone0/physics-rs.