Parcourir la source

Fix typo in rshapes.c (#4772)

pull/4774/head
vict-Yang il y a 1 an
committed by GitHub
Parent
révision
b49c079b1d
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/rshapes.c

+ 1
- 1
src/rshapes.c Voir le fichier

@ -2356,7 +2356,7 @@ bool CheckCollisionPointLine(Vector2 point, Vector2 p1, Vector2 p2, int threshol
return collision;
}
// Check if circle collides with a line created betweeen two points [p1] and [p2]
// Check if circle collides with a line created between two points [p1] and [p2]
RLAPI bool CheckCollisionCircleLine(Vector2 center, float radius, Vector2 p1, Vector2 p2)
{
float dx = p1.x - p2.x;

Chargement…
Annuler
Enregistrer