Compare commits
1 Commits
29228fc9ea
...
85af1722c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85af1722c3 |
@@ -28,7 +28,7 @@ var (
|
||||
|
||||
// shipState tracks a ship lerping along a loop of waypoints.
|
||||
type shipState struct {
|
||||
lng, lat float64
|
||||
lng, lat float64
|
||||
waypoints [][2]float64 // [lng, lat] pairs
|
||||
wpIdx int // index of next target waypoint
|
||||
progress float64 // 0..1 toward next waypoint
|
||||
|
||||
Reference in New Issue
Block a user