This commit is contained in:
faiface 2017-03-14 23:01:24 +01:00
parent da0eb85c4b
commit a614c3020c
1 changed files with 1 additions and 1 deletions

View File

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