From 523e6d3e9a46a7492520d9552ca818cec449420e Mon Sep 17 00:00:00 2001 From: faiface Date: Sun, 21 May 2017 19:30:29 +0200 Subject: [PATCH] fix Matrix doc --- geometry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.go b/geometry.go index 207ab27..b55d13b 100644 --- a/geometry.go +++ b/geometry.go @@ -255,7 +255,7 @@ func (r Rect) Union(s Rect) Rect { // Matrix has a handful of useful methods, each of which adds a transformation to the matrix. For // example: // -// pixel.IM.Moved(pixel.V(100, 200)).Rotated(0, math.Pi/2) +// pixel.IM.Moved(pixel.V(100, 200)).Rotated(pixel.ZV, math.Pi/2) // // This code creates a Matrix that first moves everything by 100 units horizontally and 200 units // vertically and then rotates everything by 90 degrees around the origin.