https://github.com/prathamghaywat/vector-engine
A Physics Engine written in Zig and Raylib
https://github.com/prathamghaywat/vector-engine
raylib zig
Last synced: 15 days ago
JSON representation
A Physics Engine written in Zig and Raylib
- Host: GitHub
- URL: https://github.com/prathamghaywat/vector-engine
- Owner: PrathamGhaywat
- License: other
- Created: 2025-11-25T09:46:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-10T20:57:13.000Z (6 months ago)
- Last Synced: 2025-12-11T07:56:35.518Z (6 months ago)
- Topics: raylib, zig
- Language: Zig
- Homepage:
- Size: 3.93 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VectorEngine - A physics engine built in Zig and Raylib
This is a physics engine build in [Zig](https://ziglang.org) and [Raylib-Zig](https://github.com/raylib-zig/raylib-zig). The key choice for this is because the *explicit allocator model* in Zig makes it easy to design memory systems that works well while developing physics workloads. You can also build for multiple platforms from a single maschine. Raylib was part of this project because it is easy and simple to use.
## Download
Download this project from the releases tab.
### Compilation
To compile project you need to have *zig-0.16.0-dev-1484* installed.
First clone this project and enter it:
```bash
git clone https://github.com/PrathamGhaywat/vector-engine.git
cd vector-engine
```
Then proceed to build this project:
```bash
zig build -Doptimize=ReleaseFast
```
after that you will see a zig-out/bin folder. inside bin there will be a Project.exe. Run that to start the application
## License
This is licensed under Apache License 2.0