We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Import it like this:
import ( "github.com/dimkauzh/vertex/src/vector" )
type Vector2D struct { X float32 Y float32 } type Vector3D struct { X float32 Y float32 Z float32 }
func NewVector2D(x, y float32) -> Vector2D func NewVector3D(x, y, z float32) -> Vector3D