You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/tutorials/building_2d_games/06_working_with_textures/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ By moving the sprite's origin point to its center, this not only corrects the po
137
137
138
138
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.
139
139
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`
0 commit comments