Parcourir la source

add float point

Tim Strasser il y a 2 ans
Parent
commit
9a464804a7
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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