The golang github.com.go-gl.mathgl.mgl32.Vec2.Sub function is used to subtract two 2-dimensional vectors. It takes in two Vec2 objects as input and returns the vector resulting from subtracting the second vector from the first vector.
Golang Vec2.Sub - 18 examples found. These are the top rated real world Golang examples of github.com/go-gl/mathgl/mgl32.Vec2.Sub extracted from open source projects. You can rate examples to help us improve the quality of examples.