Browse Source

add float point

Tim Strasser 2 years ago
parent
commit
9a464804a7
1 changed files with 5 additions and 0 deletions
  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