Explorar el Código

add float point

Tim Strasser hace 2 años
padre
commit
9a464804a7
Se han modificado 1 ficheros con 5 adiciones y 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