From 7f5a21cd3c8731b5852e05000ff9e4ec4f9c0146 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Wed, 25 Jan 2017 19:53:15 +0100
Subject: [PATCH] add note to doc

---
 graphics.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics.go b/graphics.go
index f10c839..0a310ed 100644
--- a/graphics.go
+++ b/graphics.go
@@ -248,6 +248,8 @@ func (p *Polygon) Color() NRGBA {
 // count.
 //
 // This method is more effective, than creating a new Polygon with the given points.
+//
+// However, it is less expensive than using a transform on a Target.
 func (p *Polygon) SetPoints(points ...Vec) {
 	p.data.resize(len(points))
 	for i, pt := range points {
-- 
GitLab