Files
simian/include/SceneGraph.h
T
nick 15e5d580da
CI / build-and-test (push) Successful in 2m4s
Sync Docs to Gitea Wiki / Sync docs to Gitea wiki (push) Failing after 8s
feat: Scenegraph
2026-03-08 15:37:25 +13:00

17 lines
524 B
C

#pragma once
#include "entt.hpp"
// Attach child to parent (updates linked list)
void AttachChild(entt::registry& registry, entt::entity child, entt::entity parent);
// Detach child from its parent (if any)
void DetachFromParent(entt::registry& registry, entt::entity child);
// Detach all children from a parent (orphans them)
void DetachChildren(entt::registry& registry, entt::entity parent);
// Update WorldTransform for all entities using hierarchy traversal
void UpdateWorldTransforms(entt::registry& registry);