VisPro  1.0
Project of Visualisierung 2
SceneObject.h
1 #pragma once
2 
3 // Standard
4 #include <iostream>
5 #include <sstream>
6 #include <stdio.h>
7 #include <stdlib.h>
8 
9 // OpenGL extensions
10 #include "glew.h"
11 #include "glfw3.h"
12 #include <GL/gl.h>
13 #include "glm.hpp"
14 
15 class SceneObject {
16 public:
17  SceneObject(glm::mat4& model_matrix);
18  virtual ~SceneObject();
19  virtual void update(float deltaTime) = 0;
20  virtual void draw() = 0;
21 
22  // Model matrix
23  glm::mat4 model_matrix;
24 
25  // location
26  glm::vec3 location();
27 
28 };
Definition: SceneObject.h:15