# Third-Party Notices

This project includes third-party runtime code and assets. This inventory identifies the
material present in the shipping application and points to the complete reproduced
license texts under `legal/licenses/`. It does not replace those license texts or grant
rights beyond the rights granted by the respective copyright holders.

## Physics runtime review

The current WebAssembly pair was rebuilt on 2026-07-12 after a source-provenance review.
Executable routines found to have non-permissive or share-alike provenance were removed
or replaced before this build. The release gate checks the final binary and JavaScript
glue for the superseded build hashes, disallowed product terminology, personal paths,
and removable toolchain metadata. Exact build hashes and toolchain details are recorded
in `legal/provenance/PHYSICS_RUNTIME_BUILD.md`.

This section records an engineering review, not legal advice or a warranty regarding
third-party rights.

## RocketSim

The WebAssembly physics runtime includes code from RocketSim:

- Upstream: https://github.com/ZealanL/RocketSim
- Version: `v2.2.1`
- Commit: `f80f9d90f922315c5877a81987845d3242ff1780`
- Copyright: Copyright (c) 2022 ZealanL
- License: MIT; see `legal/licenses/rocketsim/LICENSE`

Rokadillo's reviewed build changes the ball collision radius from `91.25` to `92.75`,
uses a first-party fixed-strength planar air action, replaces the mesh diagnostic hash,
uses neutral web-export/runtime strings, and applies the Bullet detector change described
below. The local dependency checkout is intentionally excluded from the public repository;
the upstream source and exact pinned revision remain available at the link above. The
RocketSim MIT notice accompanies the compiled runtime.

## Bullet Physics

RocketSim carries a modified fork derived from Bullet Physics 3.24, which is compiled
into `public/wasm/physics.wasm`:

- Upstream: https://github.com/bulletphysics/bullet3
- Base tag: `3.24`
- Base commit: `7dee3436e747958e7088dfdcea0e4ae031ce619e`
- License: Zlib; see `legal/licenses/bullet/LICENSE`
- Altered-source record: `legal/provenance/BULLET_MODIFICATIONS.md`

The fork is not represented as pristine Bullet source. File-level notices for separately
licensed material remain applicable and are not superseded by the root Bullet license.

### Intel Embree closest-point routine

The sphere-triangle detector contains an adaptation of `closestPointTriangle` from Intel
Embree:

- Source: https://github.com/RenderKit/embree/blob/master/tutorials/common/math/closest_point.h
- Copyright: Copyright 2009-2021 Intel Corporation
- License: Apache-2.0; see `legal/licenses/embree/LICENSE.txt`
- Modification: adapted from Embree vector types to Bullet `btVector3` types

### rl_ball_sym

The same detector contains code adapted from `rl_ball_sym`:

- Upstream: https://github.com/VirxEC/rl_ball_sym
- Referenced commit: `99b50b381cd529e567c9a33ab10464b89484227a`
- Source: https://github.com/VirxEC/rl_ball_sym/blob/99b50b381cd529e567c9a33ab10464b89484227a/src/simulation/geometry.rs
- Copyright: Copyright (c) 2023 VirxEC
- License: MIT; see `legal/licenses/rl_ball_sym/LICENSE`
- Modification: adapted from Rust/glam types and control flow into Bullet C++

## Emscripten

`public/wasm/physics.js` and `public/wasm/physics.wasm` were generated with Emscripten:

- Upstream: https://github.com/emscripten-core/emscripten
- Toolchain version: `6.0.0` (`afa15e0c56d1292e073c2c91bafc1d5e0cdf0dd3`)
- Redistribution license option: MIT
- Full dual-license and bundled-code text: `legal/licenses/emscripten/LICENSE`

## LLVM runtime components

The WASM may contain statically linked runtime portions from LLVM projects, including
libc++, libc++abi, and compiler-rt. They are licensed under Apache-2.0 WITH
LLVM-exception; legacy portions are also available under permissive University of
Illinois/NCSA terms. See `legal/licenses/llvm/LICENSE.TXT`.

## musl libc

The WASM contains portions of musl libc supplied by Emscripten. See
`legal/licenses/musl/COPYRIGHT` for its complete copyright and license record, including
file-specific notices.

## Kenney game assets

The three selectable vehicle models under `public/models/` and their shared texture atlas
are from Kenney (https://kenney.nl).

- License: CC0-1.0; see `legal/licenses/kenney/License.txt`

Attribution is not required by CC0; it is retained as a provenance record and with thanks.

## three.js

The application bundle includes three.js:

- Upstream: https://github.com/mrdoob/three.js
- Installed runtime version: `0.160.1`
- Copyright: Copyright (c) 2010-2023 three.js authors
- License: MIT; see `legal/licenses/npm/three/LICENSE`

## Build-time npm packages

Vite, TypeScript, `@types/three`, esbuild, Rollup, and their transitive packages are used
to build or type-check the project and are not intentionally shipped as standalone
runtime libraries. Their package-specific license metadata is retained in
`package-lock.json` and their installed package distributions.

## Independence and trademarks

Rokadillo is an independent project. Third-party names are used only for dependency and
provenance identification. No affiliation, sponsorship, or endorsement is claimed.
Third-party trademarks remain the property of their respective owners.
