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/shape" )
type Rect struct { Pos vector.Vector2D Width float32 Height float32 Color [3]float32 }
func (r *Rect) Draw() func NewRect(x, y, width, height float32, color [3]float32) -> *Rect