Expand the abbreviated public namespaces to full words, part of the language-wide de-abbreviation pass: Mem -> Memory, Sys -> System, Net -> Network, Collide -> Collision Math stays (universally accepted, like int/bool). Renames the dispatch strings, LSP signatures, docs (dirs, files, frontmatter), and the inventory manifest; behavior is byte-identical (the bare rt_ targets are unchanged). Reseeded; C-free bootstrap fixpoint holds; all suites green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
658 B
658 B
| id | name | category | kind | tokens | sig | tip | order | ns | member |
|---|---|---|---|---|---|---|---|---|---|
| collision-point_rect | Collision.point_rect | collision | namespace-method | Collision.point_rect | Collision.point_rect(px, py, rx, ry, rw, rh) -> bool | Is a point inside a rectangle? | 1 | Collision | point_rect |
Returns true when the point (px, py) lies within the rectangle (rx, ry, rw, rh) — inclusive on the top-left edge, exclusive on the bottom-right. Use it for mouse or touch hit-testing against a button or a world region.
program Demo {
handler Step phase Update {
if Collision.point_rect(mx, my, bx, by, bw, bh) { press() }
}
}