aboutsummaryrefslogtreecommitdiff
path: root/Sources/WmapParser/DataStructures/MapPoint.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 16:16:22 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-14 16:40:52 +0100
commit0b90075f76b6f2df77c01c303322323b1395641a (patch)
tree4e13d3ce0b1f4792eab8d04caefda2218565f5a9 /Sources/WmapParser/DataStructures/MapPoint.swift
parent088a941a72c2f3e9b3382eb9c5d2f21203dd401c (diff)
Use WmapParser namespace
Diffstat (limited to 'Sources/WmapParser/DataStructures/MapPoint.swift')
-rw-r--r--Sources/WmapParser/DataStructures/MapPoint.swift7
1 files changed, 7 insertions, 0 deletions
diff --git a/Sources/WmapParser/DataStructures/MapPoint.swift b/Sources/WmapParser/DataStructures/MapPoint.swift
new file mode 100644
index 0000000..c0eb971
--- /dev/null
+++ b/Sources/WmapParser/DataStructures/MapPoint.swift
@@ -0,0 +1,7 @@
+extension WmapParser {
+ /// A point in the map
+ public struct MapPoint: Sendable, Equatable {
+ let xCoordinate: Double
+ let yCoordinate: Double
+ }
+}