VisPro  1.0
Project of Visualisierung 2
PointLight.h
1 #pragma once
2 
3 #include "Light.h"
4 #include "glm.hpp"
5 
6 class PointLight : public Light {
7 public:
8  PointLight(glm::mat4& model_matrix, glm::vec3 intensity, float catt, float latt, float qatt);
9  virtual ~PointLight();
10 
11  virtual void update(float deltaTime);
12  virtual void draw();
13 
14  glm::vec3 intensity;
15  float const_attenuation;
16  float lin_attenuation;
17  float quad_attenuation;
18 
19 };
Definition: Light.h:6
Definition: PointLight.h:6