Go (golang) library implementing vector math.
go get github.com/petrkotek/go-vector
Import the package into your .go
file:
package main
import (
"fmt"
"github.com/petrkotek/go-vector/2d/32bit/vec"
)
func main() {
v1 := vec.New(1, 2)
v2 := vec.New(3, 4)
fmt.Println(v1.Add(v2))
}