Screen/world-space related functions rename
This commit is contained in:
parent
c251e9309e
commit
fb3f616be5
1 changed files with 9 additions and 9 deletions
|
|
@ -195,7 +195,7 @@ int main(void)
|
|||
// Handle clicking the cube
|
||||
if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
|
||||
{
|
||||
Ray ray = GetMouseRay(GetMousePosition(), camera);
|
||||
Ray ray = GetScreenToWorldRay(GetMousePosition(), camera);
|
||||
|
||||
// Check collision between ray and box
|
||||
RayCollision collision = GetRayCollisionBox(ray,
|
||||
|
|
|
|||
Loading…
Reference in a new issue