fixed example 'core_3d_picking.c'
This commit is contained in:
parent
ec95ee85a3
commit
8416a35045
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user