mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
Fix misspellings
This commit is contained in:
parent
dd9918d64e
commit
5801bc53df
@ -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++ {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user