church
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
church
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2nonstrict
add(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
sub(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
mul(a: ?, s: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| s | ? |
dot(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
cross(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
len(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
norm(a: ?) → void
| arg | type | description |
|---|---|---|
| a | ? |
lerp(a: ?, b: ?, t: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? | |
| t | ? |
V(x: ?, y: ?, z: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| z | ? |
clamp(x: ?, a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| a | ? | |
| b | ? |
newMB(tile: ?, col: ?) → void
| arg | type | description |
|---|---|---|
| tile | ? | |
| col | ? |
poly(pts: ?) → void
convex polygon, counter-clockwise seen from its front
| arg | type | description |
|---|---|---|
| pts | ? |
obox(c: ?, xd: ?, yd: ?, hx: ?, hy: ?, hz: ?) → void
oriented box: centre, x direction, y direction (orthogonalised), half sizes
| arg | type | description |
|---|---|---|
| c | ? | |
| xd | ? | |
| yd | ? | |
| hx | ? | |
| hy | ? | |
| hz | ? |
face(A: ?, Uv: ?, Wv: ?) → void
| arg | type | description |
|---|---|---|
| A | ? | |
| Uv | ? | |
| Wv | ? |
aabox(mn: ?, mx: ?) → void
axis-aligned box from min/max corners
| arg | type | description |
|---|---|---|
| mn | ? | |
| mx | ? |
sweep(pts: ?, rad: ?, side: ?, n: ?, capStart: ?, capEnd: ?) → void
swept tube through points (rings of n sides); capEnd closes the last ring
| arg | type | description |
|---|---|---|
| pts | ? | |
| rad | ? | |
| side | ? | |
| n | ? | |
| capStart | ? | |
| capEnd | ? |
prism(p0: ?, p1: ?, r0: ?, r1: ?, n: ?, caps: ?) → void
| arg | type | description |
|---|---|---|
| p0 | ? | |
| p1 | ? | |
| r0 | ? | |
| r1 | ? | |
| n | ? | |
| caps | ? |
planks(mb: ?, bl: ?, br: ?, tr: ?, tl: ?, outN: ?, thick: ?, boardW: ?) → void
architectural pieces vertical boards filling the quad bl,br,tr,tl (planar). outN = outward.
| arg | type | description |
|---|---|---|
| mb | ? | |
| bl | ? | |
| br | ? | |
| tr | ? | |
| tl | ? | |
| outN | ? | |
| thick | ? | |
| boardW | ? |
roofPanel(mb: ?, e0: ?, e1: ?, t0: ?, t1: ?, course: ?, lift: ?) → void
one roof panel of overlapping shingle courses; e0,e1 eave edge, t0,t1 top edge
| arg | type | description |
|---|---|---|
| mb | ? | |
| e0 | ? | |
| e1 | ? | |
| t0 | ? | |
| t1 | ? | |
| course | ? | |
| lift | ? |
archBoard(mb: ?, P0: ?, P1: ?, ys: ?, yt: ?, outN: ?, th: ?, K: ?) → void
arched board between two points: arch springs at ys, board top at yt
| arg | type | description |
|---|---|---|
| mb | ? | |
| P0 | ? | |
| P1 | ? | |
| ys | ? | |
| yt | ? | |
| outN | ? | |
| th | ? | |
| K | ? |
beam(mb: ?, a: ?, b: ?, hy: ?, hz: ?, ydir: ?) → void
beam between two points
| arg | type | description |
|---|---|---|
| mb | ? | |
| a | ? | |
| b | ? | |
| hy | ? | |
| hz | ? | |
| ydir | ? |
dragon(mb: ?, base: ?, f: ?, s: ?) → void
carved dragon head on a gable: base point, outward horizontal dir f, scale s
| arg | type | description |
|---|---|---|
| mb | ? | |
| base | ? | |
| f | ? | |
| s | ? |
P(a: ?, b: ?) → void
| arg | type | description |
|---|---|---|
| a | ? | |
| b | ? |
finialCross(mb: ?, base: ?, h: ?, facing: ?) → void
finial cross
| arg | type | description |
|---|---|---|
| mb | ? | |
| base | ? | |
| h | ? | |
| facing | ? |
ground(x: ?, z: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| z | ? |
ensureMaterials( ) → void
applyWeather(weather: ?) → void
| arg | type | description |
|---|---|---|
| weather | ? |
clearAll( ) → void
realise(mb: ?, name: ?, matKey: ?, yoff: ?) → void
turn a builder into an entity centred on its bounds; returns entity, centre, size
| arg | type | description |
|---|---|---|
| mb | ? | |
| name | ? | |
| matKey | ? | |
| yoff | ? |
build(root: ?, seed: ?, weather: ?) → void
| arg | type | description |
|---|---|---|
| root | ? | |
| seed | ? | |
| weather | ? |
newBuilder(kind: ?, tint: ?) → void
| arg | type | description |
|---|---|---|
| kind | ? | |
| tint | ? |
addPart(kind: ?, group: ?, mb: ?, supportedBy: ?, opts: ?) → void
register a finished builder as a Part
| arg | type | description |
|---|---|---|
| kind | ? | |
| group | ? | |
| mb | ? | |
| supportedBy | ? | |
| opts | ? |
nearest(ids: ?, p: ?, k: ?) → void
| arg | type | description |
|---|---|---|
| ids | ? | |
| p | ? | |
| k | ? |
union(...: ?) → void
| arg | type | description |
|---|---|---|
| ... | ? |
sides(hx: ?, hz: ?, y: ?) → void
side list for a rectangle: S, E, N, W (outward = cross(B - A, UP))
| arg | type | description |
|---|---|---|
| hx | ? | |
| hz | ? | |
| y | ? |
withY(p: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| p | ? | |
| y | ? |
skirt(tier: ?, ohx: ?, ohz: ?, ye: ?, ihx: ?, ihz: ?, yt: ?, segLen: ?, supportFn: ?) → void
roof tier 1: gallery lean-to
| arg | type | description |
|---|---|---|
| tier | ? | |
| ohx | ? | |
| ohz | ? | |
| ye | ? | |
| ihx | ? | |
| ihz | ? | |
| yt | ? | |
| segLen | ? | |
| supportFn | ? |
gableEnd(planePt: ?, outN: ?, halfW: ?, yBase: ?, yPeak: ?, ohEnd: ?, ohSide: ?, group: ?, supporters: ?, tint: ?) → void
gable end walls with crossed barge boards
| arg | type | description |
|---|---|---|
| planePt | ? | |
| outN | ? | |
| halfW | ? | |
| yBase | ? | |
| yPeak | ? | |
| ohEnd | ? | |
| ohSide | ? | |
| group | ? | |
| supporters | ? | |
| tint | ? |
BT(x: ?, y: ?, z: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| z | ? |
btSides(h: ?, y: ?) → void
| arg | type | description |
|---|---|---|
| h | ? | |
| y | ? |
setPartVisual(part: ?, char01: ?, glow01: ?) → void
burn visuals
| arg | type | description |
|---|---|---|
| part | ? | |
| char01 | ? | |
| glow01 | ? |
dropPart(part: ?) → void
| arg | type | description |
|---|---|---|
| part | ? |
update(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
init(root: ?) → void
| arg | type | description |
|---|---|---|
| root | ? |
info( ) → void
shutdown( ) → void
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_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.