Skip to content

sakrist/Swift_OpenGL_Example

Repository files navigation

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 in swift (for Ubuntu, macOS, iOS and Android)

Topics

Resources

License

Stars

Watchers

Forks

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy