Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.37 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.37 KB

A combination of:

Demos

Two quick demo videos can be found in the media directory.

The online build can be found at this repo's github page. The camera can be controlled while holding down the left alt key on the keyboard.

Setup

Setup the submodules and then follow the build instructions

git submodule init
git submodule update

"Local" compilation (non-web):

Steps are the same on Linux and Windows, but on Windows Visual Studio files will be generated so might as well just run cmake .. and then open the .sln file.

VSCode should be able to do this with the cmake plugin

mkdir build
cd build
cmake ..
make

Web compilation on Linux:

Only tested on Arch. Run the code through the emscripten compiler by using their cmake toolchain file by running the cmake command below.

Install emscripten and set up emsdk and the EMSDK environment variable. On my laptop:

echo $EMSDK
/home/david/dev/tools/emsdk
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DPLATFORM=Web ..
make
emrun raylib_test.html