Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

A simple example of using Swift to create an OpenGL application for macOS, iOS, and tvOS.

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.

![CocoaOpenGL-Swift](CocoaOpenGL-Swift.png)

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).