소스 검색

add float point

Tim Strasser 2 년 전
부모
커밋
9a464804a7
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      includes/point.h

+ 5 - 0
includes/point.h

@@ -6,4 +6,9 @@ typedef struct {
     int y;
 } POINT;
 
+typedef struct {
+    float x;
+    float y;
+} POINTF;
+
 #endif // POINT_H