VisPro  1.0
Project of Visualisierung 2
AnimatedTextureShader.h
1 #pragma once
2 #include "TextureShader.h"
3 #include <math.h>
5 public:
6  AnimatedTextureShader(const std::string& path, glm::vec3 amb_col, glm::vec3 spec_col, float shin, float framerate);
8  void bindTexture(int unit);
9  private:
10  float length; //length of the clip
11  float framerate; //fps
12  int frames; //amount of frames
13  float startTimeVid;
14 
15  std::vector<Texture*> framesOfVid;
16 };
void bindTexture(int unit)
Definition: AnimatedTextureShader.cpp:52
Definition: TextureShader.h:9
Definition: AnimatedTextureShader.h:4