Documentation for ufbx, a single source file FBX reader.
- Install cmake version >=3.10
- apt-get has a recent enough version for Ubuntu 18.04 or Debian 10
- Clone and install emsdk
- Install SHDC from sokol-tools
# Build native/
cd native
cmake -B build -DCMAKE_TOOLCHAIN_FILE=/YOUR/INSTALL/PATH/emscripten/cmake/Modules/Platform/Emscripten.cmake
cmake --build build --config Release
cd ..
# Build script/
cd script
npm install
npm run build
cd ..
# Start hacking
npm install
npm run serve
# Run simultaneously if you also want to hot-reload script/
# cd script && npm run watch