Screen space related functions consistency (#3830)
* Screen/world-space related functions rename * Update raylib_api.* by CI --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
fccdfa7926
commit
3b7be85151
10 changed files with 19 additions and 19 deletions
|
@ -88,7 +88,7 @@ int main(void)
|
|||
Color cursorColor = WHITE;
|
||||
|
||||
// Get ray and test against objects
|
||||
ray = GetMouseRay(GetMousePosition(), camera);
|
||||
ray = GetScreenToWorldRay(GetMousePosition(), camera);
|
||||
|
||||
// Check ray collision against ground quad
|
||||
RayCollision groundHitInfo = GetRayCollisionQuad(ray, g0, g1, g2, g3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue