The Wayback Machine - https://web.archive.org/web/20210223212210/https://github.com/sakrist/Swift_OpenGL_Example
Skip to content
main
Switch branches/tags
Go to file
Code

README.md

Swift OpenGL Example

This project was developed just for proof of concept: Simple application using OpenGL and written with swift - can be compiled and run on Ubuntu (Linux), macOS, iOS and Android. And in future on some X platform too.

macOS

Terminal:

  1. Open a terminal window
  2. Clone repository
  3. Go to the directory to which you clone.
  4. run swift build in terminal
  5. run .build/debug/app

or Xcode

Open opengl_example.xcodeproj project.

iOS

  1. Open opengl_example.xcodeproj project.
  2. Select iOS_example target and destination
  3. Run

Linux (Ubuntu 64-bit)

  1. Install swift toolchaine.

  2. Open a terminal window

  3. Install dependecies packages
    sudo apt-get install libx11-dev libglu1-mesa-dev mesa-common-dev

  4. Clone repository

  5. Go to the directory with project.

  6. run swift build to build

  7. run .build/debug/app

Android

  1. Read Readme inside Android folder

Screenshots

  • macOS

  • iOS

  • Ubuntu

  • Android

About

Swift OpenGL Example written with swift (for Ubuntu, macOS, iOS and Android)

Topics

Resources

License

Releases

No releases published

Packages

No packages published