1.9
This commit is contained in:
parent
fc7c94bd69
commit
2cc2f003df
71 changed files with 3359 additions and 1027 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue