Browse Source

[example] Update textures_sprite_explosion

raysan5 5 years ago
parent
commit
6b9e49e965

+ 2 - 2
examples/textures/textures_sprite_explosion.c

@@ -32,8 +32,8 @@ int main(void)
     Texture2D explosion = LoadTexture("resources/explosion.png");
     Texture2D explosion = LoadTexture("resources/explosion.png");
     
     
     // Init variables for animation
     // Init variables for animation
-    int frameWidth = explosion.width/NUM_FRAMES_PER_LINE;    // Sprite one frame rectangle width
-    int frameHeight = explosion.height/NUM_LINES;   // Sprite one frame rectangle height
+    int frameWidth = explosion.width/NUM_FRAMES_PER_LINE;   // Sprite one frame rectangle width
+    int frameHeight = explosion.height/NUM_LINES;           // Sprite one frame rectangle height
     int currentFrame = 0;
     int currentFrame = 0;
     int currentLine = 0;
     int currentLine = 0;
 
 

BIN
examples/textures/textures_sprite_explosion.png