https://github.com/joshb/CocoaOpenGL-Swift
A simple example of using Swift to create an OpenGL application for macOS, iOS, and tvOS.
https://github.com/joshb/CocoaOpenGL-Swift
cocoa ios macos opengl opengl-es swift tvos
Last synced: over 1 year ago
JSON representation
A simple example of using Swift to create an OpenGL application for macOS, iOS, and tvOS.
- Host: GitHub
- URL: https://github.com/joshb/CocoaOpenGL-Swift
- Owner: joshb
- License: bsd-2-clause
- Created: 2015-06-25T15:05:39.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2020-12-30T01:19:10.000Z (over 5 years ago)
- Last Synced: 2025-03-04T18:05:59.337Z (over 1 year ago)
- Topics: cocoa, ios, macos, opengl, opengl-es, swift, tvos
- Language: Swift
- Homepage:
- Size: 607 KB
- Stars: 65
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CocoaOpenGL-Swift
=================
This is a simple example of using Swift to create an OpenGL application for macOS, iOS, and tvOS. It features a rotating, normal mapped cylinder that is illuminated by three moving point lights of different colors.

Aside from the vertex and fragment shaders written in GLSL, all of the application code is written in Swift.
This application was developed by [Josh Beam](https://joshbeam.com/) and is distributed under a [BSD-style license](LICENSE).