Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shanesatterfield/antic_graph
An SDL2 / OpenGL 2.1 graphics API for C++.
https://github.com/shanesatterfield/antic_graph
Last synced: about 18 hours ago
JSON representation
An SDL2 / OpenGL 2.1 graphics API for C++.
- Host: GitHub
- URL: https://github.com/shanesatterfield/antic_graph
- Owner: shanesatterfield
- Created: 2014-01-29T13:23:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-07T21:41:45.000Z (almost 10 years ago)
- Last Synced: 2023-03-24T05:59:53.250Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 801 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Antic_Graph
Graphics API made to be used with [Antic_Engine](https://github.com/shanesatterfield/Antic_Engine). This is a simple C++11 graphics API that uses OpenGL 2.1 for rendering and SDL2 for window management.
## Dependencies
- [SDL2](https://www.libsdl.org/download-2.0.php)
- [GLEW](http://glew.sourceforge.net/)
- [DevIL](http://openil.sourceforge.net/download.php) (Developer's Image Library also known as OpenIL)
- [CMake](http://www.cmake.org/download/)
- C++11
- OpenGL 2.1+
- RapidJSON (Included as a submodule)## Getting Started
### Compiling the Source Code
To compile the source code, download the dependencies listed above onto your machine as well as the source code itself. From here, run CMake inside the repository. A good practice with CMake is to create a build directory within the root of the project and run CMake from within there. An example of this is as follows.
```
cd /path/to/Antic_Graph/
mkdir build/
cd build/
cmake .. && make
```This will result in libAntic_Graph.a being compiled. You can find this static library in the same directory that you ran the make command in.