#include <lights.hh>
◆ PointLight()
PointLight::PointLight |
( |
float |
position, |
|
|
float |
ambient, |
|
|
float |
diffuse, |
|
|
float |
specular, |
|
|
float |
constant = 0.0f , |
|
|
float |
linear = 0.0f , |
|
|
float |
quadratic = 0.0f |
|
) |
| |
|
inline |
◆ set_position()
void PointLight::set_position |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ ambient
glm::vec3 PointLight::ambient |
◆ constant
float PointLight::constant |
◆ diffuse
glm::vec3 PointLight::diffuse |
◆ linear
◆ position
glm::vec3 PointLight::position |
◆ quadratic
float PointLight::quadratic |
◆ specular
glm::vec3 PointLight::specular |
The documentation for this struct was generated from the following file: