OpenClonk
C4FoWBeamTriangle Class Reference

#include <C4FoWBeamTriangle.h>

Public Member Functions

 C4FoWBeamTriangle ()=default
 

Public Attributes

bool clipLeft {false}
 
bool clipRight {false}
 
float fanLX
 
float fanLY
 
float fanRX
 
float fanRY
 
float fadeLX
 
float fadeLY
 
float fadeRY
 
float fadeRX
 
float nfanLX
 
float nfanLY
 
float nfanRX
 
float nfanRY
 
float fadeIX
 
float fadeIY
 
bool descending
 

Detailed Description

A simple data structure holding data, mainly positions, about each beam that is used for the rendering. The coordinates are global.

Definition at line 22 of file C4FoWBeamTriangle.h.

Constructor & Destructor Documentation

◆ C4FoWBeamTriangle()

C4FoWBeamTriangle::C4FoWBeamTriangle ( )
default

Member Data Documentation

◆ clipLeft

bool C4FoWBeamTriangle::clipLeft {false}

Definition at line 29 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLightSection::CalculateTriangles().

◆ clipRight

bool C4FoWBeamTriangle::clipRight {false}

◆ descending

bool C4FoWBeamTriangle::descending

Definition at line 45 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ fadeIX

float C4FoWBeamTriangle::fadeIX

Definition at line 42 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ fadeIY

float C4FoWBeamTriangle::fadeIY

Definition at line 42 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ fadeLX

float C4FoWBeamTriangle::fadeLX

Definition at line 32 of file C4FoWBeamTriangle.h.

◆ fadeLY

float C4FoWBeamTriangle::fadeLY

Definition at line 32 of file C4FoWBeamTriangle.h.

◆ fadeRX

float C4FoWBeamTriangle::fadeRX

Definition at line 32 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ fadeRY

float C4FoWBeamTriangle::fadeRY

Definition at line 32 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ fanLX

float C4FoWBeamTriangle::fanLX

◆ fanLY

float C4FoWBeamTriangle::fanLY

◆ fanRX

float C4FoWBeamTriangle::fanRX

◆ fanRY

float C4FoWBeamTriangle::fanRY

◆ nfanLX

float C4FoWBeamTriangle::nfanLX

Definition at line 38 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ nfanLY

float C4FoWBeamTriangle::nfanLY

Definition at line 38 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ nfanRX

float C4FoWBeamTriangle::nfanRX

Definition at line 38 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().

◆ nfanRY

float C4FoWBeamTriangle::nfanRY

Definition at line 38 of file C4FoWBeamTriangle.h.

Referenced by C4FoWLight::Render().


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