Add existing to tracked
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
# wasm-splats
|
||||
|
||||
[](https://github.com/CesiumGS/cesium-wasm-utils/actions/workflows/wasm-splats-ci.yml)
|
||||
[](https://www.npmjs.com/package/@cesium/wasm-splats)
|
||||
|
||||
The `wasm-splats` package contains high-performance algorithms used in the rendering of Gaussian Splats in CesiumJS.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Follow the instructions in the [cesium-wasm-utils README](./README.md) to clone the repository and install
|
||||
prerequisites.
|
||||
|
||||
### Building
|
||||
|
||||
To build the package, run:
|
||||
|
||||
```sh
|
||||
wasm-pack build --release --target web --scope cesium
|
||||
```
|
||||
|
||||
This will output a `pkg` directory containing the compiled WebAssembly module and JavaScript bindings.
|
||||
|
||||
### Testing
|
||||
|
||||
To run the unit and integration tests, run:
|
||||
|
||||
```sh
|
||||
wasm-pack test --headless --chrome --firefox
|
||||
```
|
||||
|
||||
In macOS, you can also add `--safari` to run the tests in Safari.
|
||||
Reference in New Issue
Block a user