Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
igl::opengl2::Flare Struct Reference

#include <src/libigl/igl/opengl2/lens_flare.h>

Public Member Functions

 Flare ()
 
 Flare (int type, float location, float scale, const float color[3], float colorScale)
 

Public Attributes

int type
 
float scale
 
float loc
 
float color [3]
 

Detailed Description

Constructor & Destructor Documentation

◆ Flare() [1/2]

igl::opengl2::Flare::Flare ( )
inline
26 :
27 type(-1),
28 scale(0),
29 loc(0)
30 {}
float scale
Definition lens_flare.h:23
float loc
Definition lens_flare.h:24
int type
Definition lens_flare.h:22

◆ Flare() [2/2]

igl::opengl2::Flare::Flare ( int  type,
float  location,
float  scale,
const float  color[3],
float  colorScale 
)
inline
31 :
32 type(type),
33 scale(scale),
34 loc(location)
35 {
36 this->color[0] = color[0] * colorScale;
37 this->color[1] = color[1] * colorScale;
38 this->color[2] = color[2] * colorScale;
39 }
float color[3]
Definition lens_flare.h:25

References color.

Member Data Documentation

◆ color

float igl::opengl2::Flare::color[3]

Referenced by Flare().

◆ loc

float igl::opengl2::Flare::loc

◆ scale

float igl::opengl2::Flare::scale

◆ type

int igl::opengl2::Flare::type

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