one more tiny doc change

This commit is contained in:
faiface 2017-06-11 01:18:23 +02:00
parent 51cd0314d5
commit d4cd1c33e2
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func (u Vec) Rotated(angle float64) Vec {
}
}
// Normal returns a vector normal to u. Equivalent to u.Rotated(math.Pi / 2).
// Normal returns a vector normal to u. Equivalent to u.Rotated(math.Pi / 2), but faster.
func (u Vec) Normal() Vec {
return Vec{X: u.Y, Y: -u.X}
}