vilya / CocoaOpenGL-Swift

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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 and is distributed under a BSD-style license.

About

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

License:BSD 2-Clause "Simplified" License


Languages

Language:Swift 86.5%Language:GLSL 13.5%