body
A module script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2strict
newBuilder( ) → Builder
tri(b: Builder, a: number, c: number, d: number) → void
| arg | type | description |
|---|---|---|
| b | Builder | |
| a | number | |
| c | number | |
| d | number |
quad(b: Builder, a: number, c: number, d: number, e: number) → void
| arg | type | description |
|---|---|---|
| b | Builder | |
| a | number | |
| c | number | |
| d | number | |
| e | number |
norm3(x: number, y: number, z: number) → void
| arg | type | description |
|---|---|---|
| x | number | |
| y | number | |
| z | number |
membrane(sign: number) → void
| arg | type | description |
|---|---|---|
| sign | number |
recomputeNormals(b: Builder) → void
Rebuild every normal from the triangles that were actually emitted. Analytic per-primitive normals have to agree with the winding of every primitive feeding this mesh; accumulated face normals cannot disagree with the geometry, because they are derived from it.
| arg | type | description |
|---|---|---|
| b | Builder |
build(m: Morphology) → Geometry
Build dragon geometry from live morphology. Lengths derive from mass by the cube root -- the same isometry the flight model uses -- so a heavier dragon is genuinely bigger and its wings only keep up if the player paid for them.
| arg | type | description |
|---|---|---|
| m | Morphology |
key(m: Morphology) → string
A stable key for the current morphology. The mesh only needs rebuilding when one of these crosses a bucket, not every frame.
| arg | type | description |
|---|---|---|
| m | Morphology |
Geometry = {Morphology = {Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
Inside
1 problem across 1 itemagent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.