This is an emscripten project. At the moment, is really just a triangle rendered with OpenGL. However, you can already use it as an starting point for a Native and WASM OpenGL project, as the cool thing is that it runs on both Native (OSX, Linux) and Web (WebAssembly) with the help of emscripten tooling.
To build it yourself, you first have to clone the projects with the submodules which are the libraries needed (glew and glfw).
git clone --recurse-submodules -j8 https://github.com/zant/woxel
cd woxel
Requirements
After you make sure you have all the requirements covered, run:
sh build.sh
Requirements
- All of the above
- emscripten
- python
Python is only really required for the HTTP server, you can serve the embuild
folder as you will. After you make sure you have all the requirements covered, run:
sh embuild.sh
Then, visit http://localhost:8000