Skip to content

petrkotek/go-vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

go-vector

Go (golang) library implementing vector math.

Usage

1. Fetch the package

go get github.com/petrkotek/go-vector

2. Import the package

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))
}

About

Go (golang) library implementing vector math.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published