Skip to content

Fripe070/assimpts

Repository files navigation

Assimpts

TypeScript wrapper around the Assimp C/C++ library compiled as WASM through Emscripten. Heavily inspired by assimpjs.

Usage

Install the package with

npm install assimpts

See the examples for how to use the library.

Build

Required build tools:

  • CMake
  • Ninja
  • C++ Compiler of your choice

Linux

./scripts/install-emscripten.sh # Only needed on first install
./scripts/activate-emscripten.sh # Activate environment for current session
./scripts/build.sh

Windows

./scripts/install-emscripten.ps1 # Only needed on first install
./scripts/activate-emscripten.ps1 # Activate environment for current session
./scripts/build.ps1