PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
copakond::Fog Class Reference

Simple linear fog parameters. More...

#include <fog.h>

Public Member Functions

 Fog (float start, float end, glm::vec4 color)
 Fog ()

Public Attributes

int enabled = false
float start
float end
glm::vec4 color

Detailed Description

Simple linear fog parameters.

Constructor & Destructor Documentation

◆ Fog() [1/2]

copakond::Fog::Fog ( float start,
float end,
glm::vec4 color )
inline

◆ Fog() [2/2]

copakond::Fog::Fog ( )
inline

Member Data Documentation

◆ color

glm::vec4 copakond::Fog::color

◆ enabled

int copakond::Fog::enabled = false

◆ end

float copakond::Fog::end

Distance where objects become fully completely obscured by fog

◆ start

float copakond::Fog::start

Distance from camera where fog begins


The documentation for this class was generated from the following file: