Skip to content

Commit

Permalink
ebitenutil: English
Browse files Browse the repository at this point in the history
hajimehoshi committed Aug 13, 2017
1 parent f08d218 commit 9317350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ebitenutil/shapes.go
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ func colorScale(clr color.Color) (rf, gf, bf, af float64) {

// DrawLine draws a line on the given destination dst.
//
// DrawLine is intented to be used mainly for debugging or prototyping purpose.
// DrawLine is intended to be used mainly for debugging or prototyping purpose.
func DrawLine(dst *ebiten.Image, x1, y1, x2, y2 float64, clr color.Color) {
ew, eh := emptyImage.Size()
length := math.Hypot(x2-x1, y2-y1)
@@ -58,7 +58,7 @@ func DrawLine(dst *ebiten.Image, x1, y1, x2, y2 float64, clr color.Color) {

// DrawRect draws a rectangle on the given destination dst.
//
// DrawRect is intented to be used mainly for debugging or prototyping purpose.
// DrawRect is intended to be used mainly for debugging or prototyping purpose.
func DrawRect(dst *ebiten.Image, x, y, width, height float64, clr color.Color) {
ew, eh := emptyImage.Size()

0 comments on commit 9317350

Please sign in to comment.