Przeglądaj źródła

Update models_loading.c

pull/1801/head
Ray 4 lat temu
rodzic
commit
d39d26f275
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      examples/models/models_loading.c

+ 1
- 1
examples/models/models_loading.c Wyświetl plik

@ -98,7 +98,7 @@ int main(void)
if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
{
// Check collision between ray and box
if (CheckCollisionRayBox(GetMouseRay(GetMousePosition(), camera), bounds)) selected = !selected;
if (GetRayCollisionBox(GetMouseRay(GetMousePosition(), camera), bounds).hit) selected = !selected;
else selected = false;
}
//----------------------------------------------------------------------------------

Ładowanie…
Anuluj
Zapisz