fixed example 'core_3d_picking.c'

This commit is contained in:
CI 2024-06-25 01:17:29 +02:00
parent ec95ee85a3
commit 8416a35045

View File

@ -60,7 +60,7 @@ int main(void)
{ {
if (!collision.hit) if (!collision.hit)
{ {
ray = GetScreenToWorldRay(GetMousePosition(), camera); ray = GetMouseRay(GetMousePosition(), camera);
// Check collision between ray and box // Check collision between ray and box
collision = GetRayCollisionBox(ray, collision = GetRayCollisionBox(ray,