Skip to content

Commit 8285f7f

Browse files
committed
Fir to for
1 parent 31a010c commit 8285f7f

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/06_working_with_textures

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/06_working_with_textures/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ By moving the sprite's origin point to its center, this not only corrects the po
137137

138138
The `scale` parameter specifies the amount of scaling to apply to the sprite when it is rendered. The default value is `1.0f`, which can be read as "rendering the sprite at 1x the size". Increasing this will scale up the size of the sprite and decreasing it will scale down the sprite.
139139

140-
Fir this example, let's first reset the rotation back to `0.0f` (removing the 90° rotation we applied above) so we can clearly see the scaling effect. Then we will set the scale of the logo sprite to `1.5f`
140+
For this example, let's first reset the rotation back to `0.0f` (removing the 90° rotation we applied above) so we can clearly see the scaling effect. Then we will set the scale of the logo sprite to `1.5f`
141141

142142
[!code-csharp[](./snippets/scale.cs?highlight=17,21)]
143143

0 commit comments

Comments
 (0)