fix Matrix doc

This commit is contained in:
faiface 2017-05-21 19:30:29 +02:00
parent fcfeb200b6
commit 523e6d3e9a
1 changed files with 1 additions and 1 deletions

View File

@ -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.