Просмотр исходного кода

Fix typo in rshapes.c

pull/4772/head
vincent 4 месяцев назад
Родитель
Сommit
f331a7ad7f
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/rshapes.c

+ 1
- 1
src/rshapes.c Просмотреть файл

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

Загрузка…
Отмена
Сохранить