Skip to content

Commit ab99924

Browse files
committed
Added screenshots
1 parent 60bac7b commit ab99924

File tree

10 files changed

+1685
-6
lines changed

10 files changed

+1685
-6
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
# OpenGL Particles
2+
3+
4+
5+
### Screenshots
6+
7+
![Confetti](screenshots/confetti.png)
8+
![Snowflakes](screenshots/snowflakes.png)
9+
![Fire](screenshots/fire.png)

include/Application.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ class Application {
3030
void update(GLFWwindow* window, float deltaTime);
3131
void onWindowSizeChanged(int width, int height);
3232
void drawParticles();
33+
void onKeyEvent(GLFWwindow* window, int key, int scancode, int action, int mods);
3334
int getScreenWidth() const;
3435
int getScreenHeight() const;
3536

3637
private:
3738
void drawUi();
39+
void takeScreenshot() const;
3840

3941
int screenWidth;
4042
int screenHeight;

0 commit comments

Comments
 (0)