Files
firestar5683 ab81464bd1 Maps
Add navigation and map matching providers with the vendored map service sources.

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Danny <dannyirwin31@yahoo.com>
Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu>
Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
2026-10-14 19:56:17 -05:00

15 lines
147 B
Go

package math
import (
m "math"
)
type Vector struct {
X float64
Y float64
}
func (v *Vector) Bearing() float64 {
return m.Atan2(v.X, v.Y)
}