Repository: add README.md file
This commit is contained in:
parent
a19b1370ac
commit
02247a6182
BIN
.imgs/icon.png
Normal file
BIN
.imgs/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 251 KiB |
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
project(ssts C)
|
||||
project(gravity C)
|
||||
|
||||
set(SOURCE_FILES main.c)
|
||||
set(HEADER_FILES )
|
||||
|
@ -12,7 +12,7 @@ add_custom_target(assets ALL
|
|||
${PROJECT_BINARY_DIR}/assets
|
||||
COMMENT "Copying assets to build folder")
|
||||
|
||||
add_dependencies(ssts assets)
|
||||
add_dependencies(gravity assets)
|
||||
|
||||
# We need a CMAKE_DIR with some code to find external dependencies
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
|
|
40
README.md
Normal file
40
README.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
<p align="center">
|
||||
<img src=".imgs/icon.png" width="200"/>
|
||||
</p>
|
||||
|
||||
# Gravity
|
||||
|
||||
---
|
||||
|
||||
Pet project simulator for interactions between matter built off of OpenGL and C.
|
||||
|
||||
Goals and features:
|
||||
- [x] Law of gravitation
|
||||
- [x] Object tracing
|
||||
- [ ] Toggle object tracing
|
||||
- [ ] Grid
|
||||
- [ ] Toggle Grid
|
||||
- [ ] File format for importing scenes
|
||||
- [ ] Collision
|
||||
- [ ] Soft-bodies and structures
|
||||
|
||||
## Installation
|
||||
|
||||
Gravity uses CMake as its build automation system. To download and run gravity, please follow these steps:
|
||||
- Clone the repository `git clone https://github.com/0xdeadbeer/gravity`
|
||||
- Create a build directory `mkdir build`
|
||||
- Go into the build directory `cd build`
|
||||
- Generate build files `cmake ..`
|
||||
- Compile project `make all`
|
||||
- Run `./gravity`
|
||||
- Enjoy
|
||||
|
||||
## Contributions
|
||||
|
||||
We highly encourage playing around with the software and contributing to the project.
|
||||
Before opening a pull request, the contributor is expected to open an issue in which they thoroughly describe the issue (or feature) they're solving (or implementing).
|
||||
|
||||
## License
|
||||
|
||||
Gravity is licensed under the GPL-3.0 license. See the `LICENSE` file for more information.
|
Loading…
Reference in New Issue
Block a user