Explorar el Código

Update models_loading.c

pull/1801/head
Ray hace 3 años
padre
commit
d39d26f275
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      examples/models/models_loading.c

+ 1
- 1
examples/models/models_loading.c Ver fichero

@ -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;
}
//----------------------------------------------------------------------------------

Cargando…
Cancelar
Guardar