From d49b69a3a8dd5fd94d510ac6814dcced69f7fe79 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sun, 8 Feb 2026 20:16:21 -0800 Subject: [PATCH] Fix build error: use raycastBoundingBoxes instead of raycast --- src/rendering/camera_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/camera_controller.cpp b/src/rendering/camera_controller.cpp index 881d8889..b96c5650 100644 --- a/src/rendering/camera_controller.cpp +++ b/src/rendering/camera_controller.cpp @@ -622,7 +622,7 @@ void CameraController::update(float deltaTime) { // Raycast upward from player to find ceiling, limit camera distance glm::vec3 upRayOrigin = targetPos; glm::vec3 upRayDir(0.0f, 0.0f, 1.0f); - float ceilingDist = wmoRenderer->raycast(upRayOrigin, upRayDir, 15.0f); + float ceilingDist = wmoRenderer->raycastBoundingBoxes(upRayOrigin, upRayDir, 15.0f); if (ceilingDist < 15.0f) { // Found ceiling above — limit zoom to prevent camera from going through it // Camera is behind player by currentDistance, at an angle