Intial Commit of starworld

This commit is contained in:
MayaTheShy
2025-11-08 13:39:53 -05:00
commit 83313e2f63
14 changed files with 4443 additions and 0 deletions

21
src/SceneSync.Hpp Normal file
View File

@@ -0,0 +1,21 @@
// SceneSync.hpp (note: file kept as provided name)
#pragma once
#include <cstdint>
#include <unordered_map>
#include <glm/glm.hpp>
class StardustBridge;
class OverteClient;
// Synchronizes Overte entities into the Stardust subscene.
class SceneSync {
public:
static void update(StardustBridge& stardust, OverteClient& overte);
private:
// Map Overte entity id -> Stardust node id
static std::unordered_map<std::uint64_t, std::uint64_t> s_entityNodeMap;
};