소스 검색

Update shapes_digital_clock.c

pull/5364/head
Ray 2 달 전
부모
커밋
e6ef99275a
1개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. +7
    -5
      examples/shapes/shapes_digital_clock.c

+ 7
- 5
examples/shapes/shapes_digital_clock.c 파일 보기

@ -284,11 +284,13 @@ static void DrawDisplaySegment(Vector2 center, int length, int thick, bool verti
if (!vertical)
{
// Horizontal segment points
// 3___________________________5
// / \
// /1 x 6\
// \ /
// \2___________________________4/
/*
3___________________________5
/ \
/1 x 6\
\ /
\2___________________________4/
*/
Vector2 segmentPointsH[6] = {
(Vector2){ center.x - length/2.0f - thick/2.0f, center.y }, // Point 1
(Vector2){ center.x - length/2.0f, center.y + thick/2.0f }, // Point 2

불러오는 중...
취소
저장