Explorar o código

add float point

Tim Strasser %!s(int64=2) %!d(string=hai) anos
pai
achega
9a464804a7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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