From da0eb85c4b1b1f3ccededdf9ef4a6373079a5dca Mon Sep 17 00:00:00 2001 From: faiface Date: Tue, 14 Mar 2017 23:01:08 +0100 Subject: [PATCH] fix doc --- geometry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.go b/geometry.go index 06139fa..578324e 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.ZM.Move(pixel.V(100, 200)).Rotate(0, math.Pi/2) +// pixel.IM.Move(pixel.V(100, 200)).Rotate(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.