1#ifndef PGR_SEM_COPAKOND_IMAGEMOVING_H
2#define PGR_SEM_COPAKOND_IMAGEMOVING_H
9 glm::vec2 _imageRepeated;
10 glm::vec2 _movingSpeed;
15 std::vector<float> _uvs;
16 std::vector<float> _normals;
20 void _generateGeometry();
22 ImageMoving(
const std::string& imagePath, glm::vec2 movingSpeed, glm::vec2 imageRepeated);
23 ImageMoving(
const std::string& imagePath, glm::vec2 movingSpeed, glm::vec2 imageRepeated, std::shared_ptr<Material> material);
29 void draw(
float deltaTime)
override;
31 void pause() { _paused =
true; }
ImageMoving(const std::string &imagePath, glm::vec2 movingSpeed, glm::vec2 imageRepeated)
Definition imageMoving.cpp:4
void unpause()
Definition imageMoving.h:32
void pause()
Definition imageMoving.h:31
~ImageMoving() override
Definition imageMoving.cpp:21
Mesh()
Definition mesh.cpp:12
PGR Semestral work with sample scenes and bowling. doxygen was generated with a help of LLM.
Definition bezier.cpp:3
Shader * shader
Definition main.cpp:37
void init()
Initializes OpenGL context, scene data, and sets up GLUT callbacks.
Definition main.cpp:42
void draw()
Main render loop. Handles updates, physics, and rendering of all scene elements.
Definition main.cpp:97