The project essentially is another try to learn OpenGL hence the name YetAnother
. The goal is to explore OpenGL using http://www.swiftgl.org/.
- GLFW3
OpenGL has no facility to open windows or create a context it can draw to. This is an intentional design choice and not an oversight. We’ll be using GLFW, a cross-platform library, written in C, specifically targeted at OpenGL providing the bare necessities required for rendering goodies to the screen. It allows us to create an OpenGL context, define window parameters, and handle user input.
brew install glfw3
- Clone the repo
git clone https://github.com/pkondrashkov/YetAnotherSwiftGL.git
- Generate Xcode Project
swift package generate-xcodeproj --xcconfig-overrides ./Package.xcconfig
- Run
main
target in Xcode
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Pavel Kondrashkov - @pkondrashkov - pkondrashkov@gmail.com
Project Link: https://github.com/pkondrashkov/YetAnotherSwiftGL