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.
Terminal:
- Open a terminal window
- Clone repository
- Go to the directory to which you clone.
- run
swift build
in terminal - run
.build/debug/app
or Xcode
Open opengl_example.xcodeproj
project.
- Open
opengl_example.xcodeproj
project. - Select iOS_example target and destination
- Run
-
Install swift toolchaine.
-
Open a terminal window
-
Install dependecies packages
sudo apt-get install libx11-dev libglu1-mesa-dev mesa-common-dev
-
Clone repository
-
Go to the directory with project.
-
run
swift build
to build -
run
.build/debug/app
- Read Readme inside Android folder
- macOS
- iOS
- Ubuntu
- Android