mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-14 03:09:10 +00:00
Fixing overflow issue on extreme colors in color_distance(). Explicitly disabling unaligned addressing in miniz and transcoder when UBSAN is enabled Disabling a needless optimization in transcoder causing ubsan issues (that could have easily been worked around in a different way, but it was an unnecessary optimization to begin with) Rebuild wasm builds
Prebuilt versions of basis_encoder.js and basis_encoder.wasm are included in the build/ folder, and are sufficient for local demos. Note the encoder also includes the transcoder. To build the encoder yourself, first install emscripten (tutorial) and cmake (download). Then run:
cd webgl/encoder/build/
emcmake cmake ../
make