aboutsummaryrefslogtreecommitdiff
path: root/Sources/WmapParser/MapPoint.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-13 01:17:52 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 09:15:07 +0100
commit03f1a7389afeadf9aa2b1d62a38e5cb0a2a7e60d (patch)
tree2efefc34a61c62d55d8436180acfc3590287f5fd /Sources/WmapParser/MapPoint.swift
Initial implementation
Diffstat (limited to 'Sources/WmapParser/MapPoint.swift')
-rw-r--r--Sources/WmapParser/MapPoint.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/Sources/WmapParser/MapPoint.swift b/Sources/WmapParser/MapPoint.swift
new file mode 100644
index 0000000..718ecab
--- /dev/null
+++ b/Sources/WmapParser/MapPoint.swift
@@ -0,0 +1,5 @@
+/// A point in the map
+public struct MapPoint: Sendable, Equatable {
+ let xCoordinate: Double
+ let yCoordinate: Double
+}