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
6
namespace
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
copakond::Fog::enabled
int enabled
Definition
fog.h:10
copakond::Fog::end
float end
Definition
fog.h:12
copakond::Fog::start
float start
Definition
fog.h:11
copakond::Fog::Fog
Fog()
Definition
fog.h:22
copakond::Fog::Fog
Fog(float start, float end, glm::vec4 color)
Definition
fog.h:15
copakond::Fog::color
glm::vec4 color
Definition
fog.h:13
copakond
PGR Semestral work with sample scenes and bowling. doxygen was generated with a help of LLM.
Definition
bezier.cpp:3
pgr-portable.h
light
fog.h
Generated by
1.16.1