Skip to content

Intermact API Reference / @intermact/core / transformBounds

Function: transformBounds()

transformBounds(local, t): Bounds2D

Defined in: packages/core/src/runtime/world-transform.ts:131

Map a world AABB of local bounds through a transform, returning a new world AABB.

Parameters

local

Bounds2D

t

ResolvedTransform2D

Returns

Bounds2D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)