Vis 2 Demo
1.0
Technical illustration type real-time rendering of geometry
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
src
geometry
DrawableObject.h
Go to the documentation of this file.
1
#ifndef __DRAWABLE_OBJECT_H__
2
#define __DRAWABLE_OBJECT_H__
3
4
#include <glm/glm.hpp>
5
#include <glm/gtc/matrix_transform.hpp>
6
#include <glm/gtc/type_ptr.hpp>
7
8
namespace
vis2
9
{
11
15
class
DrawableObject
16
{
17
public
:
19
22
DrawableObject
(glm::mat4 & _modelMatrix);
23
25
virtual
~ DrawableObject
();
26
28
virtual
void
update
(
double
) = 0;
29
31
34
virtual
void
draw
(glm::mat4 & _projectionMatrix) = 0;
35
36
protected
:
37
glm::mat4
modelMatrix
;
38
39
private
:
41
DrawableObject
(
const
DrawableObject
&);
42
};
43
}
44
45
46
47
48
#endif
Generated on Tue Jun 11 2013 08:43:14 for Vis 2 Demo by
1.8.3.1