PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
fog.h
Go to the documentation of this file.
1#ifndef PGR_SEM_COPAKOND_FOG_H
2#define PGR_SEM_COPAKOND_FOG_H
3
4#include "../pgr-portable.h"
5
6namespace copakond {
8 class Fog {
9 public:
10 int enabled = false;
11 float start;
12 float end;
13 glm::vec4 color;
14
15 Fog(float start, float end, glm::vec4 color) {
16 this->start = start;
17 this->end = end;
18 this->color = color;
19 this->enabled = true;
20 }
21
22 Fog() {}; // if fog is disabled
23 };
24}
25
26#endif //PGR_SEM_COPAKOND_FOG_H
int enabled
Definition fog.h:10
float end
Definition fog.h:12
float start
Definition fog.h:11
Fog()
Definition fog.h:22
Fog(float start, float end, glm::vec4 color)
Definition fog.h:15
glm::vec4 color
Definition fog.h:13
PGR Semestral work with sample scenes and bowling. doxygen was generated with a help of LLM.
Definition bezier.cpp:3