From a614c3020c6f47e826a4040222b7728ded7a9712 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Tue, 14 Mar 2017 23:01:24 +0100 Subject: [PATCH] fix doc --- geometry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.go b/geometry.go index 578324e..299c835 100644 --- a/geometry.go +++ b/geometry.go @@ -241,7 +241,7 @@ func (r Rect) Contains(u Vec) bool { // Matrix has a handful of useful methods, each of which adds a transformation to the matrix. For // example: // -// pixel.IM.Move(pixel.V(100, 200)).Rotate(0, math.Pi/2) +// pixel.IM.Moved(pixel.V(100, 200)).Rotated(0, math.Pi/2) // // This code creates a Matrix that first moves everything by 100 units horizontaly and 200 units // vertically and then rotates everything by 90 degrees around the origin. -- GitLab