서버-사이드 충돌판정 구현 중

This commit is contained in:
2025-06-21 00:36:50 +09:00
parent 66dc91dab3
commit 3a526edcf4
3 changed files with 45 additions and 3 deletions

View File

@@ -10,6 +10,9 @@ class Physics {
static void invokeOnColisionEvent(
gsl::not_null<utils::ThreadPool*> thread_pool,
std::unordered_map<std::string, std::shared_ptr<Model>>& models);
static void invokeOnColisionEvent(
gsl::not_null<utils::ThreadPool*> thread_pool,
std::unordered_map<utils::Snowflake, Model>& models);
bool RayTrace(const glm::vec3& rayOrigin, const glm::vec3& rayDir,
const glm::vec3& v0, const glm::vec3& v1, const glm::vec3& v2,