mirror of https://github.com/axmolengine/axmol.git
18 lines
349 B
Markdown
18 lines
349 B
Markdown
|
# Axmol WASM
|
||
|
|
||
|
Building axmol for target platform: webgl aka wasm.
|
||
|
|
||
|
After setup, just run follow command:
|
||
|
|
||
|
axmol build -p wasm
|
||
|
|
||
|
## TODO
|
||
|
|
||
|
```cpp
|
||
|
#ifndef EMSCRIPTEN
|
||
|
const FT_Int spread = DistanceMapSpread;
|
||
|
FT_Property_Set(_FTlibrary, "sdf", "spread", &spread);
|
||
|
FT_Property_Set(_FTlibrary, "bsdf", "spread", &spread);
|
||
|
#endif
|
||
|
```
|