mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-14 09:50:51 +00:00
begin live server support
This commit is contained in:
parent
0c9ddb476a
commit
e4ae265184
368 changed files with 17756 additions and 7738 deletions
|
|
@ -102,7 +102,7 @@ function getNodeWorldPosition(
|
|||
if (nodeIdx === -1) return null;
|
||||
|
||||
// Walk up parent chain accumulating translations (ignoring rotation for now)
|
||||
let pos: [number, number, number] = [0, 0, 0];
|
||||
const pos: [number, number, number] = [0, 0, 0];
|
||||
let current: number | undefined = nodeIdx;
|
||||
while (current != null) {
|
||||
const node = json.nodes[current];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue