Ver código fonte

add float point

Tim Strasser 2 anos atrás
pai
commit
9a464804a7
1 arquivos alterados com 5 adições e 0 exclusões
  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