Vis 2 Demo  1.0
Technical illustration type real-time rendering of geometry
 All Classes Namespaces Files Functions Variables Typedefs Macros
ModelTextured.h
Go to the documentation of this file.
1 #ifndef __MODEL_TEXTURED_H__
2 #define __MODEL_TEXTURED_H__
3 
4 #include <iostream>
6 
7 namespace vis2
8 {
10 
12  {
13  public:
15 
26  ModelTextured( glm::mat4 _modelMatrix,
27  Shader* _shader,
28  Texture* _diffuseTexture,
29  const GLfloat* _positions_Ptr,
30  const GLfloat* _normals_Ptr,
31  const GLfloat* _uv_Ptr,
32  const GLuint* _index_Ptr,
33  const unsigned int _vertex_count,
34  const unsigned int _face_ind_count);
35 
37  virtual ~ModelTextured();
38 
40  virtual void update(double _deltaT);
41 
43 
44  virtual void draw(glm::mat4 & _projectionMatrix);
45 
46  private:
47  // \internal Texture* diffuse_texture; \internal
48 
50  };
51 }
52 
53 
54 #endif