diff options
author | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
commit | 342403a02f8063903d0f38327430721d4d0ae331 (patch) | |
tree | 29d020a27bc16939c568dd4b29166566d1c0e658 /dev/snowman/snowman.h | |
parent | Fix parenthesis (diff) | |
download | csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.gz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.bz2 csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.lz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.xz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.zst csci4611-342403a02f8063903d0f38327430721d4d0ae331.zip |
do ass1submission-p1.0
Diffstat (limited to '')
-rw-r--r-- | dev/snowman/snowman.h | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/dev/snowman/snowman.h b/dev/snowman/snowman.h index fea3dc8..fc85d84 100644 --- a/dev/snowman/snowman.h +++ b/dev/snowman/snowman.h @@ -1,52 +1,52 @@ -/** CSci-4611 In-Class Example */ - -#ifndef SNOWMAN_H_ -#define SNOWMAN_H_ - -#include <mingfx.h> -using namespace mingfx; - -#include <string> -#include <vector> - -class Snowman : public GraphicsApp { -public: - - // Creates the App - Snowman(); - - // Cleans up when the App shuts down - virtual ~Snowman(); - - // Note a Run() function is inherited from GraphicsApp, that's what - // actually starts up the App. - - // This is a callback, a function that gets called when the user presses - // the Pause button in the GUI. - void OnPauseBtnPressed(); - - // This gets called once each frame. Note that dt (a.k.a., "delta time") is - // the amount of time (in seconds) that has passed since the last frame. - void UpdateSimulation(double dt); - - // This is where we initialize any OpenGL data, like textures or meshes that - // need to be loaded from files and setup in OpenGL. It gets called once - // when the program starts up. - void InitOpenGL(); - - // This gets called once each frame, and this is where you draw the latest - // version of your 3D graphics scene. - void DrawUsingOpenGL(); - - -private: - - // Sets up the computer graphics camera - Matrix4 view_matrix_; - Matrix4 proj_matrix_; - - // A helper class for drawing some simple shapes (cubes, spheres, 3D arrows) - QuickShapes quick_shapes_; -}; - +/** CSci-4611 In-Class Example */
+
+#ifndef SNOWMAN_H_
+#define SNOWMAN_H_
+
+#include <mingfx.h>
+using namespace mingfx;
+
+#include <string>
+#include <vector>
+
+class Snowman : public GraphicsApp {
+public:
+
+ // Creates the App
+ Snowman();
+
+ // Cleans up when the App shuts down
+ virtual ~Snowman();
+
+ // Note a Run() function is inherited from GraphicsApp, that's what
+ // actually starts up the App.
+
+ // This is a callback, a function that gets called when the user presses
+ // the Pause button in the GUI.
+ void OnPauseBtnPressed();
+
+ // This gets called once each frame. Note that dt (a.k.a., "delta time") is
+ // the amount of time (in seconds) that has passed since the last frame.
+ void UpdateSimulation(double dt);
+
+ // This is where we initialize any OpenGL data, like textures or meshes that
+ // need to be loaded from files and setup in OpenGL. It gets called once
+ // when the program starts up.
+ void InitOpenGL();
+
+ // This gets called once each frame, and this is where you draw the latest
+ // version of your 3D graphics scene.
+ void DrawUsingOpenGL();
+
+
+private:
+
+ // Sets up the computer graphics camera
+ Matrix4 view_matrix_;
+ Matrix4 proj_matrix_;
+
+ // A helper class for drawing some simple shapes (cubes, spheres, 3D arrows)
+ QuickShapes quick_shapes_;
+};
+
#endif
\ No newline at end of file |