Fix misspellings

This commit is contained in:
Hajime Hoshi 2016-08-02 01:49:05 +09:00
parent dd9918d64e
commit 5801bc53df
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ func isIdentity(ebiten affine) bool {
func add(lhs, rhs, result affine) {
dim := lhs.dim()
if dim != rhs.dim() {
panic("ebiten: diffrent-sized matrices can't be multiplied")
panic("ebiten: different-sized matrices can't be multiplied")
}
for i := 0; i < dim-1; i++ {
@ -52,7 +52,7 @@ func add(lhs, rhs, result affine) {
func mul(lhs, rhs, result affine) {
dim := lhs.dim()
if dim != rhs.dim() {
panic("ebiten: diffrent-sized matrices can't be multiplied")
panic("ebiten: different-sized matrices can't be multiplied")
}
for i := 0; i < dim-1; i++ {

View File

@ -213,7 +213,7 @@ func update(screen *ebiten.Image) error {
return err
}
tutrial := "Space: Move foward\nLeft/Right: Rotate"
tutrial := "Space: Move forward\nLeft/Right: Rotate"
msg := fmt.Sprintf("FPS: %0.2f\n%s", ebiten.CurrentFPS(), tutrial)
if err := ebitenutil.DebugPrint(screen, msg); err != nil {
return err