瀏覽代碼

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