This commit is contained in:
33333-33333 2026-07-16 22:12:03 +09:00
commit 2cc2f003df
71 changed files with 3359 additions and 1027 deletions

View file

@ -4,7 +4,7 @@
// Shared tiny helpers for positional projection used by links, mechanical
// bodies, and circle/circle collision code.
(function (global) {
function num(v, fallback = 0) { const n = Number(v); return Number.isFinite(n) ? n : fallback; }
const num = global.TarinaiCoreHelpers?.finiteOr || ((v, fallback = 0) => { const n = Number(v); return Number.isFinite(n) ? n : fallback; });
function markSpatialDirty(worldRef, item, reason = "projection", threshold = 0.35, minInterval = 0.065) {
const world = worldRef || item?.world || null;